Move config.h before the other headers, to prevent compiler warnings
authorEli Zaretskii <eliz@gnu.org>
Tue, 16 Apr 2002 20:05:08 +0000 (20:05 +0000)
committerEli Zaretskii <eliz@gnu.org>
Tue, 16 Apr 2002 20:05:08 +0000 (20:05 +0000)
due to redifinition of _FILE_OFFSET_BITS.

lib-src/ChangeLog
lib-src/update-game-score.c

index 1ac735c..9bdf8a4 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-16  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * update-game-score.c: Move config.h before the other headers, to
+       avoid compiler warnings.
+
 2002-04-16  Francesco Potorti`  <pot@gnu.org>
 
        * etags.c (find_entries): Bug fix in list management.
index 27e0baf..110c6a9 100644 (file)
@@ -31,6 +31,8 @@ Boston, MA 02111-1307, USA.  */
 
 #define _GNU_SOURCE
 
+#include <config.h>
+
 #include <unistd.h>
 #include <errno.h>
 #include <string.h>
@@ -42,7 +44,6 @@ Boston, MA 02111-1307, USA.  */
 #include <fcntl.h>
 #include <stdarg.h>
 #include <sys/stat.h>
-#include <config.h>
 
 #define MAX_ATTEMPTS 5
 #define MAX_SCORES 200