Add const
authorJelmer Vernooij <jelmer@samba.org>
Wed, 2 Apr 2003 11:06:42 +0000 (11:06 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 2 Apr 2003 11:06:42 +0000 (11:06 +0000)
source/lib/module.c

index 700de56953ee945eb1315cae46715d3c231ea47d..763a5c2b2d54c19c970897d939ba0907329fe358 100644 (file)
@@ -127,7 +127,7 @@ void init_modules(void)
 /*************************************************************************
  * This functions /path/to/foobar.so -> foobar
  ************************************************************************/
-void module_path_get_name(char *path, pstring name)
+void module_path_get_name(const char *path, pstring name)
 {
        char *s;