Skip to content

Commit

Permalink
Got rid of unused externs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayne Davison committed Feb 24, 2006
1 parent aa37022 commit cca9208
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions backup.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "rsync.h"

extern int verbose;
extern int backup_suffix_len;
extern int backup_dir_len;
extern unsigned int backup_dir_remainder;
extern char backup_dir_buf[MAXPATHLEN];
Expand All @@ -32,7 +31,6 @@ extern int am_root;
extern int preserve_devices;
extern int preserve_specials;
extern int preserve_links;
extern int preserve_hard_links;
extern int safe_symlinks;

/* make a complete pathname for backup file */
Expand Down
1 change: 0 additions & 1 deletion clientname.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include "rsync.h"

static const char default_name[] = "UNKNOWN";
extern int am_daemon;
extern int am_server;


Expand Down
1 change: 0 additions & 1 deletion compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ int remote_protocol = 0;

extern int verbose;
extern int am_server;
extern int am_sender;
extern int inplace;
extern int fuzzy_basis;
extern int read_batch;
Expand Down
1 change: 0 additions & 1 deletion generator.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ extern int verbose;
extern int dry_run;
extern int do_xfers;
extern int log_format_has_i;
extern int log_format_has_o_or_i;
extern int daemon_log_format_has_i;
extern int am_root;
extern int am_server;
Expand Down
1 change: 0 additions & 1 deletion hlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include "rsync.h"

extern int dry_run;
extern int verbose;
extern int link_dest;
extern int make_backups;
Expand Down
1 change: 0 additions & 1 deletion io.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@

extern int bwlimit;
extern size_t bwlimit_writemax;
extern int verbose;
extern int io_timeout;
extern int allowed_lull;
extern int am_server;
Expand Down
1 change: 0 additions & 1 deletion match.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "rsync.h"

extern int verbose;
extern int am_server;
extern int do_progress;
extern int checksum_seed;
extern int append_mode;
Expand Down
4 changes: 0 additions & 4 deletions receiver.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,12 @@ extern int write_batch;
extern int batch_gen_fd;
extern int protocol_version;
extern int relative_paths;
extern int keep_dirlinks;
extern int preserve_hard_links;
extern int preserve_perms;
extern int io_error;
extern int basis_dir_cnt;
extern int make_backups;
extern int cleanup_got_literal;
extern int remove_sent_files;
extern int module_id;
extern int ignore_errors;
extern int append_mode;
extern int sparse_files;
extern int keep_partial;
Expand Down

0 comments on commit cca9208

Please sign in to comment.