summaryrefslogtreecommitdiffstats
path: root/usr.bin/ar/acpyacc.y
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-02 10:09:20 +0000
committered <ed@FreeBSD.org>2010-01-02 10:09:20 +0000
commitb2f13324285e9f616da10d4c1fb2d101723c07ea (patch)
treea138378761890dfbbb922442dc23d824a9740d2d /usr.bin/ar/acpyacc.y
parent09818ac28e064437e7ab61eb0cd30245d17d27ea (diff)
downloadFreeBSD-src-b2f13324285e9f616da10d4c1fb2d101723c07ea.zip
FreeBSD-src-b2f13324285e9f616da10d4c1fb2d101723c07ea.tar.gz
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.
Diffstat (limited to 'usr.bin/ar/acpyacc.y')
-rw-r--r--usr.bin/ar/acpyacc.y12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/ar/acpyacc.y b/usr.bin/ar/acpyacc.y
index 686bbe2..b686c3f5 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) {
OpenPOWER on IntegriCloud