Changeset: da417a620679 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=da417a620679
Modified Files:
gdk/gdk_utils.c
Branch: Dec2016
Log Message:
Move function to outside #ifdef.
diffs (35 lines):
diff --git a/gdk/gdk_utils.c b/gdk/gdk_utils.c
--- a/gdk/gdk_utils.c
+++ b/gdk/gdk_utils.c
@@ -1636,15 +1636,6 @@ GDKmalloc_prefixsize(size_t size)
return s;
}
-void
-GDKsetmemorylimit(lng nbytes)
-{
- (void) nbytes;
-#ifndef NDEBUG
- GDK_mallocedbytes_limit = nbytes;
-#endif
-}
-
/*
* The emergency flag can be set to force a fatal error if needed.
@@ -1898,6 +1889,15 @@ GDKstrdup(const char *s)
#endif /* STATIC_CODE_ANALYSIS */
+void
+GDKsetmemorylimit(lng nbytes)
+{
+ (void) nbytes;
+#ifndef NDEBUG
+ GDK_mallocedbytes_limit = nbytes;
+#endif
+}
+
#undef GDKstrndup
char *
GDKstrndup(const char *s, size_t n)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list