[pok-devel] [11] * avoid compilation warnings

[ Thread Index | Date Index | More lists.tuxfamily.org/pok-devel Archives ]


Revision: 11
Author:   julien
Date:     2011-08-13 08:36:28 +0200 (Sat, 13 Aug 2011)
Log Message:
-----------
 * avoid compilation warnings

Modified Paths:
--------------
    trunk/libpok/include/core/dependencies.h

Modified: trunk/libpok/include/core/dependencies.h
===================================================================
--- trunk/libpok/include/core/dependencies.h	2011-07-31 16:46:27 UTC (rev 10)
+++ trunk/libpok/include/core/dependencies.h	2011-08-13 06:36:28 UTC (rev 11)
@@ -280,9 +280,18 @@
 #ifndef POK_CONFIG_OPTIMIZE_FOR_GENERATED_CODE
 
 /* core functions */
+#ifndef POK_NEEDS_FUNCTIONS_TIME_GETTICK
 #define POK_NEEDS_FUNCTION_TIME_GETTICK 1
+#endif
+
+#ifndef POK_NEEDS_SEMAPHORS
 #define POK_NEEDS_SEMAPHORES            1
+#endif
+
+#ifndef POK_NEEDS_THREADS
 #define POK_NEEDS_THREADS               1
+#endif
+
 #define POK_NEEDS_PORTS_QUEUEING        1
 #define POK_NEEDS_PARTITIONS            1
 #define POK_NEEDS_BUFFERS               1
@@ -302,6 +311,11 @@
 #define POK_CONFIG_NEEDS_FUNC_ITOA           1
 #define POK_CONFIG_NEEDS_FUNC_UDIVDI3        1
 
+/*
+ * Memory allocator, core partition functions.
+ */
+#define POK_NEEDS_ALLOCATOR                  1
+
 /* stdlib.h functions */
 #define POK_CONFIG_NEEDS_FUNC_RAND           1
 #define POK_CONFIG_NEEDS_FUNC_MALLOC         1


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/