diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2003-05-08 16:17:37 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2003-05-08 16:17:37 +0000 |
commit | 5fcb134b43a64d5540571697550d8f8f80a69dd5 (patch) | |
tree | 6445e455c178a071b5fca12731877e5c1e1ec280 | |
parent | e4cc6d0f5a90b7302e663b013d0b00cfff2fd720 (diff) | |
download | yelp-5fcb134b43a64d5540571697550d8f8f80a69dd5.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.c | 6 |
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; } |