diff options
author | Ed Schouten <ed@FreeBSD.org> | 2010-01-02 10:09:20 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2010-01-02 10:09:20 +0000 |
commit | ef636796f6443dbb7214182450240bba4ddd515f (patch) | |
tree | a138378761890dfbbb922442dc23d824a9740d2d /usr.bin/ar/acpyacc.y | |
parent | daaf5759104f210a9315f49f80f1e0f01a8b3bff (diff) | |
download | src-ef636796f6443dbb7214182450240bba4ddd515f.tar.gz src-ef636796f6443dbb7214182450240bba4ddd515f.zip |
ANSIfy various tools in usr.bin/.
Most of these tools properly build at WARNS=6, except for their K&R
function declarations. Fix this, so we can bump WARNS as well.
Notes
Notes:
svn path=/head/; revision=201382
Diffstat (limited to 'usr.bin/ar/acpyacc.y')
-rw-r--r-- | usr.bin/ar/acpyacc.y | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/ar/acpyacc.y b/usr.bin/ar/acpyacc.y index 686bbe27a096..b686c3f57475 100644 --- a/usr.bin/ar/acpyacc.y +++ b/usr.bin/ar/acpyacc.y @@ -414,7 +414,7 @@ arscp_extract(struct list *list) /* List modules of archive. (Simple Mode) */ static void -arscp_list() +arscp_list(void) { if (!arscp_target_exist()) @@ -483,7 +483,7 @@ arscp_replace(struct list *list) /* Rename the temporary archive to the target archive. */ static void -arscp_save() +arscp_save(void) { mode_t mask; @@ -512,7 +512,7 @@ arscp_save() * invoking CREATE cmd on current archive. */ static void -arscp_clear() +arscp_clear(void) { char *new_target; @@ -549,7 +549,7 @@ arscp_end(int eval) * issued by user. */ static int -arscp_target_exist() +arscp_target_exist(void) { if (target) @@ -624,7 +624,7 @@ arscp_mlist2argv(struct list *list) /* Free space allocated for argv array and its elements. */ static void -arscp_free_argv() +arscp_free_argv(void) { int i; @@ -636,7 +636,7 @@ arscp_free_argv() /* Show a prompt if we are in interactive mode */ static void -arscp_prompt() +arscp_prompt(void) { if (interactive) { |