Changeset: c17135eb8714 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c17135eb8714
Modified Files:
        gdk/gdk_bbp.c
        monetdb5/mal/mal_module.c
        monetdb5/modules/atoms/mtime.c
Branch: embedded
Log Message:

gcc fixes


diffs (40 lines):

diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -1049,7 +1049,7 @@ BBPaddfarm(const char *dirname, int role
        GDKfatal("BBPaddfarm: too many farms\n");
 }
 
-gdk_export void BBPresetfarms() {
+gdk_export void BBPresetfarms(void) {
        BBPexit();
        BBPunlock("BBPexit");
        BBPsize = 0;
diff --git a/monetdb5/mal/mal_module.c b/monetdb5/mal/mal_module.c
--- a/monetdb5/mal/mal_module.c
+++ b/monetdb5/mal/mal_module.c
@@ -161,10 +161,11 @@ void freeModule(Module m)
 }
 
 void freeModuleList(Module s){
+       Module t = NULL;
        if (s == NULL) {
                s = mal_scope;
        }
-       Module t=s;
+       t=s;
        while(s){
                t= s->outer;
                s->outer= NULL;
diff --git a/monetdb5/modules/atoms/mtime.c b/monetdb5/modules/atoms/mtime.c
--- a/monetdb5/modules/atoms/mtime.c
+++ b/monetdb5/modules/atoms/mtime.c
@@ -1277,7 +1277,7 @@ MTIMEtimestamp2timestamp(timestamp *ret,
 static BAT *timezone_name = NULL;
 static BAT *timezone_def = NULL;
 
-void MTIMEreset() {
+void MTIMEreset(void) {
        timezone_name = NULL;
        timezone_def = NULL;
 }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to