Changeset: f10c079deb55 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f10c079deb55
Modified Files:
monetdb5/mal/mal_linker.mx
Branch: Mar2011
Log Message:
MSP_locate_file: make static function
This function isn't used anywhere outside of this code, so turn into a
private function.
diffs (28 lines):
diff --git a/monetdb5/mal/mal_linker.mx b/monetdb5/mal/mal_linker.mx
--- a/monetdb5/mal/mal_linker.mx
+++ b/monetdb5/mal/mal_linker.mx
@@ -66,7 +66,6 @@
mal_export MALfcn getAddress(str filename, str modnme, str fcnname,int silent);
mal_export char *MSP_locate_script(const char *mod_name);
mal_export char *MSP_locate_sqlscript(const char *mod_name, bit recurse);
-mal_export char *MSP_locate_file(const char *mod_name);
mal_export str loadLibrary(str modulename, int flag);
mal_export void unloadLibraries(void);
mal_export void initLibraries(void);
@@ -122,6 +121,7 @@
static int maxfiles = MAXMODULES;
static int lastfile = 0;
+static char *MSP_locate_file(const char *filename);
@-
Search for occurrence of the function in the library identified by the
filename.
@c
@@ -462,7 +462,7 @@
return locate_file(filename, SQL_EXT, recurse);
}
-char *
+static char *
MSP_locate_file(const char *filename)
{
char *lib_name = GDKmalloc(strlen(filename) + strlen(SO_PREFIX) + 1);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list