summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@daimi.au.dk>2003-05-08 16:17:37 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2003-05-08 16:17:37 +0000
commit5fcb134b43a64d5540571697550d8f8f80a69dd5 (patch)
tree6445e455c178a071b5fca12731877e5c1e1ec280
parente4cc6d0f5a90b7302e663b013d0b00cfff2fd720 (diff)
downloadyelp-LIBGNOME_2_3_3.tar.gz
make it compile on C89 compilers.LIBGNOME_2_3_3
Thu May 8 18:31:02 2003 Soeren Sandmann <sandmann@daimi.au.dk> * help-converters/info/main.c (file_exists): make it compile on C89 compilers.
-rw-r--r--src/info2html/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/info2html/main.c b/src/info2html/main.c
index b59ed8c0..38fd9fe2 100644
--- a/src/info2html/main.c
+++ b/src/info2html/main.c
@@ -13,9 +13,9 @@
#include <stdlib.h>
#include <string.h>
#include <popt.h>
-#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <unistd.h>
#include <limits.h>
#include "data.h"
@@ -44,12 +44,12 @@ static struct poptOption options[] = {
static int
file_exists(const char *fn)
{
+ struct stat sbuf;
+
if (g_file_test(fn, G_FILE_TEST_IS_DIR)) {
return FALSE;
}
- struct stat sbuf;
-
if (g_file_test(fn, G_FILE_TEST_IS_DIR)) {
return FALSE;
}