Include the array-size in array externs so that IBM's code-checker
[rsync/rsync.git] / exclude.c
index 080aa49..9672bf9 100644 (file)
--- a/exclude.c
+++ b/exclude.c
@@ -36,7 +36,7 @@ extern int sanitize_paths;
 extern int protocol_version;
 extern int module_id;
 
-extern char curr_dir[];
+extern char curr_dir[MAXPATHLEN];
 extern unsigned int curr_dir_len;
 extern unsigned int module_dirlen;