summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-09-23 02:03:20 +0000
committerWayne Davison <wayned@samba.org>2007-09-23 02:03:20 +0000
commit19531e1f7444358c7c99726dfac6088b6df69b1e (patch)
tree4bd9dc0a559229a24baf56b8f0f8ad1474384cff
parent6f0805f564a5f11e7e93d0b74ee907641c748d5b (diff)
downloadrsync-19531e1f7444358c7c99726dfac6088b6df69b1e.tar.gz
rsync-19531e1f7444358c7c99726dfac6088b6df69b1e.tar.bz2
rsync-19531e1f7444358c7c99726dfac6088b6df69b1e.zip
Got rid of some unneeded externs.
-rw-r--r--acls.c1
-rw-r--r--clientserver.c1
-rw-r--r--compat.c3
-rw-r--r--io.c2
4 files changed, 1 insertions, 6 deletions
diff --git a/acls.c b/acls.c
index 658c4996..a03cd0ea 100644
--- a/acls.c
+++ b/acls.c
@@ -29,7 +29,6 @@ extern int am_root;
extern int read_only;
extern int list_only;
extern int orig_umask;
-extern int protocol_version;
extern int numeric_ids;
extern int inc_recurse;
diff --git a/clientserver.c b/clientserver.c
index 43bfdf4a..bef2e2ff 100644
--- a/clientserver.c
+++ b/clientserver.c
@@ -23,7 +23,6 @@
#include "ifuncs.h"
extern int verbose;
-extern int quiet;
extern int output_motd;
extern int list_only;
extern int am_sender;
diff --git a/compat.c b/compat.c
index 7bbbb3b5..80c44a34 100644
--- a/compat.c
+++ b/compat.c
@@ -48,10 +48,7 @@ extern int preserve_acls;
extern int preserve_xattrs;
extern int need_messages_from_generator;
extern int delete_mode, delete_before, delete_during, delete_after;
-extern int delete_excluded;
-extern int make_backups;
extern char *shell_cmd; /* contains VER.SUB string if client is a pre-release */
-extern char *backup_dir, *backup_suffix;
extern char *partial_dir;
extern char *dest_option;
extern char *files_from;
diff --git a/io.c b/io.c
index e8a07099..3ef6f127 100644
--- a/io.c
+++ b/io.c
@@ -53,7 +53,7 @@ extern int protocol_version;
extern int remove_source_files;
extern int preserve_hard_links;
extern struct stats stats;
-extern struct file_list *cur_flist, *first_flist;
+extern struct file_list *cur_flist;
#ifdef ICONV_OPTION
extern int filesfrom_convert;
extern iconv_t ic_send, ic_recv;