summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-07-20 22:41:29 -0700
committerWayne Davison <wayned@samba.org>2008-07-20 22:41:29 -0700
commitb791d6802bad5c9403a6bb8aab8536c36ef90213 (patch)
tree1b9ef1cc27044dd2b4d567f62391c4d49ad8c193 /log.c
parent741597c2dfe894f61760fff13321c32f56ea6637 (diff)
downloadrsync-b791d6802bad5c9403a6bb8aab8536c36ef90213.tar.gz
rsync-b791d6802bad5c9403a6bb8aab8536c36ef90213.tar.bz2
rsync-b791d6802bad5c9403a6bb8aab8536c36ef90213.zip
Include the array-size in array externs so that IBM's code-checker
can do more checking for us.
Diffstat (limited to 'log.c')
-rw-r--r--log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/log.c b/log.c
index 58c6bb19..6f9a47ed 100644
--- a/log.c
+++ b/log.c
@@ -55,10 +55,10 @@ extern iconv_t ic_chck;
#ifdef ICONV_OPTION
extern iconv_t ic_send, ic_recv;
#endif
-extern char curr_dir[];
+extern char curr_dir[MAXPATHLEN];
extern char *module_dir;
extern unsigned int module_dirlen;
-extern char sender_file_sum[];
+extern char sender_file_sum[MAX_DIGEST_LEN];
static int log_initialised;
static int logfile_was_closed;