summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0908ccd)
raw | patch | inline | side by side (parent: 0908ccd)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 4 May 2008 18:54:57 +0000 (18:54 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 4 May 2008 18:54:57 +0000 (18:54 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1337 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_getopt.c | patch | blob | history | |
src/rrd_getopt1.c | patch | blob | history |
diff --git a/src/rrd_getopt.c b/src/rrd_getopt.c
index b715ab0339d701efce02af16e45b1392e6765aaa..281baf4ef2595921079072cd2d0a21f172b4d3eb 100644 (file)
--- a/src/rrd_getopt.c
+++ b/src/rrd_getopt.c
#define _NO_PROTO
#endif
-#ifdef HAVE_CONFIG_H
-#include "../rrd_config.h"
-#endif
-
#if !defined (__STDC__) || !__STDC__
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */
#endif
#endif
+#ifdef HAVE_CONFIG_H
+#include "../rrd_config.h"
+#endif
+
#include <stdio.h>
/* Comment out all this code if we are using the GNU C Library, and are not
diff --git a/src/rrd_getopt1.c b/src/rrd_getopt1.c
index 14e1e885685699156ed730d82b6c963ce75ee39a..ddf814974c662c97d6c80ba16320aea8475b34d1 100644 (file)
--- a/src/rrd_getopt1.c
+++ b/src/rrd_getopt1.c
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
\f
-#ifdef HAVE_CONFIG_H
-#include "../rrd_config.h"
-#endif
-
-#include "rrd_getopt.h"
-
#if !defined (__STDC__) || !__STDC__
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */
#endif
#endif
+#ifdef HAVE_CONFIG_H
+#include "../rrd_config.h"
+#endif
+
+#include "rrd_getopt.h"
+
#include <stdio.h>
/* Comment out all this code if we are using the GNU C Library, and are not