]> git.openpandora.org Git - pandora-libraries.git/commitdiff
mmenu: fix annoying __USE_GNU redef warnings
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 13 Dec 2015 21:29:38 +0000 (23:29 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 13 Dec 2015 21:29:38 +0000 (23:29 +0200)
minimenu/mmcache.c
minimenu/mmconf.c
minimenu/mmcustom_cats.c
minimenu/mmui.c

index 941aa74ff0d54d0f7df8612845cc481020c817dc..b40e96b1c528b42baeddcc084e38530d58aeba38 100644 (file)
@@ -1,4 +1,5 @@
 
+#define __USE_GNU /* for strcasestr */
 #include <stdio.h> /* for FILE etc */
 #include <stdlib.h> /* for malloc */
 #include <unistd.h> /* for unlink */
@@ -7,7 +8,6 @@
 #include <sys/stat.h>
 #include <time.h> /* for time() */
 
-#define __USE_GNU /* for strcasestr */
 #include <string.h> /* for making ftw.h happy */
 
 #include <fcntl.h>
@@ -17,7 +17,6 @@
 #include "SDL_image.h"
 #include "SDL_rotozoom.h"
 
-#define __USE_GNU /* for strcasestr */
 #include <unistd.h> /* for unlink */
 #include <string.h> /* for making ftw.h happy */
 
index 2da4da8747423755feac3920758866e79eb8d71b..f64675e50b777937bae6b0714c5f55c11f8acb5b 100644 (file)
@@ -1,7 +1,7 @@
 
+#define __USE_GNU /* for strndup */
 #include <stdio.h>
 #include <limits.h> /* for PATH_MAX */
-#define __USE_GNU /* for strndup */
 #include <string.h> /* for strdup */
 
 #include "SDL.h"
index 4c5a8a374d7c40154102804d041bbf215ba5f96d..1cc5c65f93548d4f44873dae37be02b7d9ee5106 100644 (file)
@@ -1,7 +1,7 @@
 
+#define __USE_GNU /* for strndup */
 #include <stdio.h>
 #include <limits.h> /* for PATH_MAX */
-#define __USE_GNU /* for strndup */
 #include <string.h> /* for strdup */
 #include <stdlib.h> /* getenv */
 
index 50e33245a5d5c72fc0b5d34e16628e6f9f217775..abdd63b739e24698bc30323df4c5c31628fa77f1 100644 (file)
@@ -1,11 +1,11 @@
 
+#define __USE_GNU /* for strcasestr */
 #include <stdio.h> /* for FILE etc */
 #include <stdlib.h> /* for malloc */
 #include <unistd.h> /* for unlink */
 #include <limits.h> /* for PATH_MAX */
 #include <sys/types.h>
 #include <sys/stat.h>
-#define __USE_GNU /* for strcasestr */
 #include <string.h> /* for making ftw.h happy */
 #include <time.h>
 #include <ftw.h>