diff options
author | Wayne Davison <wayned@samba.org> | 2008-07-20 22:41:29 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2008-07-20 22:41:29 -0700 |
commit | b791d6802bad5c9403a6bb8aab8536c36ef90213 (patch) | |
tree | 1b9ef1cc27044dd2b4d567f62391c4d49ad8c193 /log.c | |
parent | 741597c2dfe894f61760fff13321c32f56ea6637 (diff) | |
download | rsync-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |