Changeset: 6ee1950deaf4 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6ee1950deaf4 Modified Files: gdk/gdk_time.c monetdb5/modules/atoms/mtime.c Branch: timezone Log Message:
Move strptime to where it is used. diffs (28 lines): diff --git a/gdk/gdk_time.c b/gdk/gdk_time.c --- a/gdk/gdk_time.c +++ b/gdk/gdk_time.c @@ -10,10 +10,6 @@ #include "gdk.h" #include "gdk_time.h" -#ifndef HAVE_STRPTIME -extern char *strptime(const char *, const char *, struct tm *); -#endif - #define YEAR_MIN (-4712) /* 4713 BC */ #define YEAR_OFFSET (-YEAR_MIN) 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 @@ -34,6 +34,10 @@ #include "mtime.h" #include "mal_exception.h" +#ifndef HAVE_STRPTIME +extern char *strptime(const char *, const char *, struct tm *); +#endif + /* interfaces callable from MAL, not used from any C code */ mal_export str MTIMEcurrent_date(date *ret); mal_export str MTIMEcurrent_time(daytime *ret); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list