summaryrefslogtreecommitdiffstats
path: root/collection
diff options
context:
space:
mode:
Diffstat (limited to 'collection')
-rw-r--r--collection/collection.c3
-rw-r--r--collection/collection_cmp.c3
-rw-r--r--collection/collection_cnv.c3
-rw-r--r--collection/collection_iter.c3
-rw-r--r--collection/collection_queue.c1
-rw-r--r--collection/collection_queue_ut.c3
-rw-r--r--collection/collection_stack.c1
-rw-r--r--collection/collection_stack_ut.c3
-rw-r--r--collection/collection_tools.c2
-rw-r--r--collection/collection_ut.c2
10 files changed, 10 insertions, 14 deletions
diff --git a/collection/collection.c b/collection/collection.c
index d836aa4..fa33cb8 100644
--- a/collection/collection.c
+++ b/collection/collection.c
@@ -19,13 +19,12 @@
along with Collection Library. If not, see <http://www.gnu.org/licenses/>.
*/
-#define _GNU_SOURCE
+#include "config.h"
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <ctype.h>
#include <time.h>
-#include "config.h"
#include "trace.h"
/* The collection should use the real structures */
diff --git a/collection/collection_cmp.c b/collection/collection_cmp.c
index c1f9017..61d2fcc 100644
--- a/collection/collection_cmp.c
+++ b/collection/collection_cmp.c
@@ -19,13 +19,12 @@
along with Collection Library. If not, see <http://www.gnu.org/licenses/>.
*/
-#define _GNU_SOURCE
+#include "config.h"
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <ctype.h>
#include <time.h>
-#include "config.h"
#include "trace.h"
/* The collection should use the real structures */
diff --git a/collection/collection_cnv.c b/collection/collection_cnv.c
index e9ca05d..c38f859 100644
--- a/collection/collection_cnv.c
+++ b/collection/collection_cnv.c
@@ -21,10 +21,9 @@
along with Collection Library. If not, see <http://www.gnu.org/licenses/>.
*/
-#define _GNU_SOURCE
+#include "config.h"
#include <string.h>
#include <stdlib.h>
-#include <errno.h>
#include <ctype.h>
#include <time.h>
#include "trace.h"
diff --git a/collection/collection_iter.c b/collection/collection_iter.c
index f3735d7..9e0413c 100644
--- a/collection/collection_iter.c
+++ b/collection/collection_iter.c
@@ -19,13 +19,12 @@
along with Collection Library. If not, see <http://www.gnu.org/licenses/>.
*/
-#define _GNU_SOURCE
+#include "config.h"
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <ctype.h>
#include <time.h>
-#include "config.h"
#include "trace.h"
/* The collection should use the real structures */
diff --git a/collection/collection_queue.c b/collection/collection_queue.c
index adac8ee..91b7099 100644
--- a/collection/collection_queue.c
+++ b/collection/collection_queue.c
@@ -19,6 +19,7 @@
along with Collection Library. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
#include <stdlib.h>
#include <errno.h>
#include "collection_queue.h"
diff --git a/collection/collection_queue_ut.c b/collection/collection_queue_ut.c
index fbe6ea3..c4f7a68 100644
--- a/collection/collection_queue_ut.c
+++ b/collection/collection_queue_ut.c
@@ -19,10 +19,9 @@
along with Collection Library. If not, see <http://www.gnu.org/licenses/>.
*/
-
+#include "config.h"
#include <stdio.h>
#include <string.h>
-#include <errno.h>
#define TRACE_HOME
#include "trace.h"
#include "collection_queue.h"
diff --git a/collection/collection_stack.c b/collection/collection_stack.c
index 509df51..50ac531 100644
--- a/collection/collection_stack.c
+++ b/collection/collection_stack.c
@@ -19,6 +19,7 @@
along with Collection Library. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
#include <stdlib.h>
#include <errno.h>
#include "collection_stack.h"
diff --git a/collection/collection_stack_ut.c b/collection/collection_stack_ut.c
index e0633b7..9c25308 100644
--- a/collection/collection_stack_ut.c
+++ b/collection/collection_stack_ut.c
@@ -19,10 +19,9 @@
along with Collection Library. If not, see <http://www.gnu.org/licenses/>.
*/
-
+#include "config.h"
#include <stdio.h>
#include <string.h>
-#include <errno.h>
#define TRACE_HOME
#include "trace.h"
#include "collection_stack.h"
diff --git a/collection/collection_tools.c b/collection/collection_tools.c
index b7f30d2..54d96c3 100644
--- a/collection/collection_tools.c
+++ b/collection/collection_tools.c
@@ -19,7 +19,7 @@
along with Collection Library. If not, see <http://www.gnu.org/licenses/>.
*/
-
+#include "config.h"
#include <stdio.h>
#include <malloc.h>
#include <errno.h>
diff --git a/collection/collection_ut.c b/collection/collection_ut.c
index c34cd36..2692879 100644
--- a/collection/collection_ut.c
+++ b/collection/collection_ut.c
@@ -19,7 +19,7 @@
along with Collection Library. If not, see <http://www.gnu.org/licenses/>.
*/
-
+#include "config.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>