changeset 923:fd1f71bcf0e9

Remove unnecessary extern declarations. Signed-off-by: Simon Horman <horms@verge.net.au>
author Simon Horman <horms@verge.net.au>
date Sun, 26 Jan 2014 20:55:38 +0900
parents efbe80782497
children 705ca7a35fc5
files makegdbm/options.h perdition/db/gdbm/perditiondb_gdbm.h
diffstat 2 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/makegdbm/options.h	Sun Dec 01 17:27:09 2013 +0900
+++ b/makegdbm/options.h	Sun Jan 26 20:55:38 2014 +0900
@@ -38,9 +38,6 @@
 #include "config.h"
 #endif
 
-extern gdbm_error gdbm_errno;
-extern char *gdbm_version;
-
 #define COPYRIGHT \
   "(c) 1999 Horms <horms@verge.net.au>\nReleased under the GNU GPL\n"
 
@@ -49,9 +46,6 @@
   int undo;
 } makegdbm_options_t; 
 
-extern char *optarg;
-extern int optind, opterr, optopt;
-
 makegdbm_options_t makegdbm_options(int argc, char **argv);
 void usage(int exit_status);
 void version(void);
--- a/perdition/db/gdbm/perditiondb_gdbm.h	Sun Dec 01 17:27:09 2013 +0900
+++ b/perdition/db/gdbm/perditiondb_gdbm.h	Sun Jan 26 20:55:38 2014 +0900
@@ -30,9 +30,6 @@
 #include <ctype.h>
 #include <gdbm.h>
 
-extern gdbm_error gdbm_errno;
-extern char *gdbm_version;
-
 #ifndef PERDITIONDB_GDBM_SYSCONFDIR
 #define PERDITIONDB_GDBM_SYSCONFDIR "/usr/local/etc/perdition"
 #endif