Changeset: 394be352c56e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=394be352c56e
Modified Files:
        monetdb5/mal/mal_dataflow.c
        monetdb5/mal/mal_exception.h
        monetdb5/mal/mal_resource.c
        monetdb5/modules/atoms/streams.c
        monetdb5/modules/atoms/streams.h
        monetdb5/modules/kernel/array.c
        monetdb5/modules/kernel/array.h
        monetdb5/modules/kernel/batcolor.c
        monetdb5/modules/kernel/batcolor.h
        monetdb5/modules/kernel/batmmath.c
        monetdb5/modules/kernel/batmmath.h
        monetdb5/modules/kernel/batstr.c
        monetdb5/modules/kernel/batstr.h
        monetdb5/modules/mal/batExtensions.c
        monetdb5/modules/mal/batExtensions.h
        monetdb5/modules/mal/groups.h
        monetdb5/modules/mal/iterator.c
        monetdb5/modules/mal/iterator.h
        monetdb5/modules/mal/joinpath.h
        monetdb5/modules/mal/manual.h
        monetdb5/modules/mal/mdb.c
        monetdb5/modules/mal/mdb.h
        monetdb5/modules/mal/pqueue.c
        monetdb5/modules/mal/pqueue.h
        monetdb5/modules/mal/profiler.h
        monetdb5/modules/mal/remote.h
Branch: default
Log Message:

.c files start with including monetdb_config.h, no need to include in .h.


diffs (286 lines):

diff --git a/monetdb5/mal/mal_dataflow.c b/monetdb5/mal/mal_dataflow.c
--- a/monetdb5/mal/mal_dataflow.c
+++ b/monetdb5/mal/mal_dataflow.c
@@ -35,6 +35,7 @@
  * The flow graphs should be organized such that parallel threads can
  * access it mostly without expensive locking.
  */
+#include "monetdb_config.h"
 #include "mal_dataflow.h"
 
 #define DFLOWpending 0         /* runnable */
diff --git a/monetdb5/mal/mal_exception.h b/monetdb5/mal/mal_exception.h
--- a/monetdb5/mal/mal_exception.h
+++ b/monetdb5/mal/mal_exception.h
@@ -19,7 +19,6 @@
 
 #ifndef _MAL_EXCEPTION_H
 #define _MAL_EXCEPTION_H
-#include "monetdb_config.h"
 #include "mal_instruction.h"
 
 /* #define _DEBUG_EXCEPTION_           trace the exception handling */
diff --git a/monetdb5/mal/mal_resource.c b/monetdb5/mal/mal_resource.c
--- a/monetdb5/mal/mal_resource.c
+++ b/monetdb5/mal/mal_resource.c
@@ -17,6 +17,7 @@
  * All Rights Reserved.
 */
 
+#include "monetdb_config.h"
 #include "mal_resource.h"
 
 #define heapinfo(X) if ((X) && (X)->base) vol = (X)->free; else vol = 0;
diff --git a/monetdb5/modules/atoms/streams.c b/monetdb5/modules/atoms/streams.c
--- a/monetdb5/modules/atoms/streams.c
+++ b/monetdb5/modules/atoms/streams.c
@@ -26,6 +26,7 @@
  * encapsulates the corresponding library managed in common/stream.
  */
 
+#include "monetdb_config.h"
 #include "streams.h"
 #include "mal_exception.h"
 
diff --git a/monetdb5/modules/atoms/streams.h b/monetdb5/modules/atoms/streams.h
--- a/monetdb5/modules/atoms/streams.h
+++ b/monetdb5/modules/atoms/streams.h
@@ -19,7 +19,6 @@
 #ifndef _STREAMS_H_
 #define _STREAMS_H_
 
-#include "monetdb_config.h"
 #include <mal.h>
 #include <stdio.h>
 #include <stream_socket.h>
diff --git a/monetdb5/modules/kernel/array.c b/monetdb5/modules/kernel/array.c
--- a/monetdb5/modules/kernel/array.c
+++ b/monetdb5/modules/kernel/array.c
@@ -30,6 +30,7 @@
  * The optimization is captured in a contraction macro.
  */
 
+#include "monetdb_config.h"
 #include "array.h"
 
 #define new_bat(b, s, TYPE)                                                    
                        \
diff --git a/monetdb5/modules/kernel/array.h b/monetdb5/modules/kernel/array.h
--- a/monetdb5/modules/kernel/array.h
+++ b/monetdb5/modules/kernel/array.h
@@ -18,7 +18,6 @@
 */
 #ifndef _ARRAY_H_
 #define _ARRAY_H_
-#include "monetdb_config.h"
 #include "gdk.h"
 #include "mal.h"
 #include "algebra.h"
diff --git a/monetdb5/modules/kernel/batcolor.c 
b/monetdb5/modules/kernel/batcolor.c
--- a/monetdb5/modules/kernel/batcolor.c
+++ b/monetdb5/modules/kernel/batcolor.c
@@ -31,6 +31,7 @@
  * the GRPsplit operation.
  */
 
+#include "monetdb_config.h"
 #include "batcolor.h"
 
 #define prepareOperand(X,Y,Z) \
diff --git a/monetdb5/modules/kernel/batcolor.h 
b/monetdb5/modules/kernel/batcolor.h
--- a/monetdb5/modules/kernel/batcolor.h
+++ b/monetdb5/modules/kernel/batcolor.h
@@ -19,7 +19,6 @@
 #ifndef _BATCOLOR_H_
 #define _BATCOLOR_H_
 
-#include "monetdb_config.h"
 #include <gdk.h>
 #include <string.h>
 #include <mal.h>
diff --git a/monetdb5/modules/kernel/batmmath.c 
b/monetdb5/modules/kernel/batmmath.c
--- a/monetdb5/modules/kernel/batmmath.c
+++ b/monetdb5/modules/kernel/batmmath.c
@@ -27,6 +27,7 @@
  * the fast execution of expanded code blocks.
  * The common set of math functions is supported.
  */
+#include "monetdb_config.h"
 #include "batmmath.h"
 
 #define voidresultBAT(X1,X2)\
diff --git a/monetdb5/modules/kernel/batmmath.h 
b/monetdb5/modules/kernel/batmmath.h
--- a/monetdb5/modules/kernel/batmmath.h
+++ b/monetdb5/modules/kernel/batmmath.h
@@ -18,7 +18,6 @@
 */
 #ifndef _BATMATH_H
 #define _BATMATH_H
-#include "monetdb_config.h"
 #include "gdk.h"
 #include "math.h"
 #include "mal_exception.h"
diff --git a/monetdb5/modules/kernel/batstr.c b/monetdb5/modules/kernel/batstr.c
--- a/monetdb5/modules/kernel/batstr.c
+++ b/monetdb5/modules/kernel/batstr.c
@@ -30,6 +30,7 @@
  * are limited to :void, which can be cheaply realized using
  * the GRPsplit operation.
  */
+#include "monetdb_config.h"
 #include "batstr.h"
 
 #define prepareOperand(X,Y,Z) \
diff --git a/monetdb5/modules/kernel/batstr.h b/monetdb5/modules/kernel/batstr.h
--- a/monetdb5/modules/kernel/batstr.h
+++ b/monetdb5/modules/kernel/batstr.h
@@ -19,7 +19,6 @@
 
 #ifndef _BATSTR_H_
 #define _BATSTR_H_
-#include "monetdb_config.h"
 #include <gdk.h>
 #include "ctype.h"
 #include <string.h>
diff --git a/monetdb5/modules/mal/batExtensions.c 
b/monetdb5/modules/mal/batExtensions.c
--- a/monetdb5/modules/mal/batExtensions.c
+++ b/monetdb5/modules/mal/batExtensions.c
@@ -31,6 +31,7 @@
  * Another example concerns the (un)pack operations, which direct
  * access the runtime stack to (push)pull the values needed.
  */
+#include "monetdb_config.h"
 #include "batExtensions.h"
 
 /*
diff --git a/monetdb5/modules/mal/batExtensions.h 
b/monetdb5/modules/mal/batExtensions.h
--- a/monetdb5/modules/mal/batExtensions.h
+++ b/monetdb5/modules/mal/batExtensions.h
@@ -20,7 +20,6 @@
 #ifndef _BAT_EXTENSIONS_
 #define _BAT_EXTENSIONS_
 
-#include "monetdb_config.h"
 #include "mal_client.h"
 #include "mal_interpreter.h"
 #include "bat5.h"
diff --git a/monetdb5/modules/mal/groups.h b/monetdb5/modules/mal/groups.h
--- a/monetdb5/modules/mal/groups.h
+++ b/monetdb5/modules/mal/groups.h
@@ -18,7 +18,6 @@
 */
 #ifndef _OPT_GROUPS_
 #define _OPT_GROUPS_
-#include "monetdb_config.h"
 #include "mal_interpreter.h"
 
 #ifdef WIN32
diff --git a/monetdb5/modules/mal/iterator.c b/monetdb5/modules/mal/iterator.c
--- a/monetdb5/modules/mal/iterator.c
+++ b/monetdb5/modules/mal/iterator.c
@@ -45,6 +45,7 @@
  *
  */
 
+#include "monetdb_config.h"
 #include "iterator.h"
 
 /*
diff --git a/monetdb5/modules/mal/iterator.h b/monetdb5/modules/mal/iterator.h
--- a/monetdb5/modules/mal/iterator.h
+++ b/monetdb5/modules/mal/iterator.h
@@ -20,7 +20,6 @@
 #ifndef _ITERATOR_
 #define _ITERATOR_
 
-#include "monetdb_config.h"
 #include "mal.h"
 #include "mal_interpreter.h"
 
diff --git a/monetdb5/modules/mal/joinpath.h b/monetdb5/modules/mal/joinpath.h
--- a/monetdb5/modules/mal/joinpath.h
+++ b/monetdb5/modules/mal/joinpath.h
@@ -19,7 +19,6 @@
 #ifndef _OPT_JOINPATH_
 #define _OPT_JOINPATH_
 
-#include "monetdb_config.h"
 #include "mal_client.h"
 #include "mal_interpreter.h"
 
diff --git a/monetdb5/modules/mal/manual.h b/monetdb5/modules/mal/manual.h
--- a/monetdb5/modules/mal/manual.h
+++ b/monetdb5/modules/mal/manual.h
@@ -19,7 +19,6 @@
 
 #ifndef _MANUAL_H
 #define _MANUAL_H
-#include "monetdb_config.h"
 #include "gdk.h"
 #include <stdarg.h>
 #include <time.h>
diff --git a/monetdb5/modules/mal/mdb.c b/monetdb5/modules/mal/mdb.c
--- a/monetdb5/modules/mal/mdb.c
+++ b/monetdb5/modules/mal/mdb.c
@@ -46,6 +46,7 @@
  * information may fail due to an inconsistent state or insufficient resources.
  */
 
+#include "monetdb_config.h"
 #include "mdb.h"
 
 #define MDBstatus(X) \
diff --git a/monetdb5/modules/mal/mdb.h b/monetdb5/modules/mal/mdb.h
--- a/monetdb5/modules/mal/mdb.h
+++ b/monetdb5/modules/mal/mdb.h
@@ -18,7 +18,6 @@
 */
 #ifndef _MDB_H
 #define _MDB_H
-#include "monetdb_config.h"
 #include "gdk.h"
 #include "mutils.h"
 #include <stdarg.h>
diff --git a/monetdb5/modules/mal/pqueue.c b/monetdb5/modules/mal/pqueue.c
--- a/monetdb5/modules/mal/pqueue.c
+++ b/monetdb5/modules/mal/pqueue.c
@@ -33,6 +33,7 @@
  *
  */
 
+#include "monetdb_config.h"
 #include "pqueue.h"
 
 /* returns the parent of a pqueue position */
diff --git a/monetdb5/modules/mal/pqueue.h b/monetdb5/modules/mal/pqueue.h
--- a/monetdb5/modules/mal/pqueue.h
+++ b/monetdb5/modules/mal/pqueue.h
@@ -18,7 +18,6 @@
 */
 #ifndef _PQUEUE_
 #define _PQUEUE_
-#include "monetdb_config.h"
 #include "mal.h"
 #include "mal_exception.h"
 #include "mal_interpreter.h"
diff --git a/monetdb5/modules/mal/profiler.h b/monetdb5/modules/mal/profiler.h
--- a/monetdb5/modules/mal/profiler.h
+++ b/monetdb5/modules/mal/profiler.h
@@ -28,7 +28,6 @@
 #ifndef _PROFILER_
 #define _PROFILER_
 
-#include "monetdb_config.h"
 #include "gdk.h"
 #include <stdarg.h>
 #include <time.h>
diff --git a/monetdb5/modules/mal/remote.h b/monetdb5/modules/mal/remote.h
--- a/monetdb5/modules/mal/remote.h
+++ b/monetdb5/modules/mal/remote.h
@@ -20,7 +20,6 @@
 #ifndef _REMOTE_DEF
 #define _REMOTE_DEF
 
-#include "monetdb_config.h"
 #include <mal.h>
 #include <mal_exception.h>
 #include <mal_interpreter.h>
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to