summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mg/autoexec.c3
-rw-r--r--usr.bin/mg/buffer.c3
-rw-r--r--usr.bin/mg/dired.c4
-rw-r--r--usr.bin/mg/extend.c4
-rw-r--r--usr.bin/mg/file.c3
-rw-r--r--usr.bin/mg/grep.c7
-rw-r--r--usr.bin/mg/mail.c3
-rw-r--r--usr.bin/mg/theo.c4
-rw-r--r--usr.bin/mg/undo.c4
9 files changed, 26 insertions, 9 deletions
diff --git a/usr.bin/mg/autoexec.c b/usr.bin/mg/autoexec.c
index 94784db8383..23aeb3ec38a 100644
--- a/usr.bin/mg/autoexec.c
+++ b/usr.bin/mg/autoexec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoexec.c,v 1.9 2005/10/13 20:28:49 deraadt Exp $ */
+/* $OpenBSD: autoexec.c,v 1.10 2005/10/14 19:46:46 kjell Exp $ */
/* this file is in the public domain */
/* Author: Vincent Labrecque <vincent@openbsd.org> April 2002 */
@@ -80,6 +80,7 @@ add_autoexec(const char *pattern, const char *func)
return (TRUE);
}
+/* ARGSUSED */
int
auto_execute(int f, int n)
{
diff --git a/usr.bin/mg/buffer.c b/usr.bin/mg/buffer.c
index e0e7e52f304..6cf407598fc 100644
--- a/usr.bin/mg/buffer.c
+++ b/usr.bin/mg/buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buffer.c,v 1.49 2005/10/14 06:44:49 kjell Exp $ */
+/* $OpenBSD: buffer.c,v 1.50 2005/10/14 19:46:46 kjell Exp $ */
/* This file is in the public domain. */
@@ -12,6 +12,7 @@
static BUFFER *makelist(void);
+/* ARGSUSED */
int
togglereadonly(int f, int n)
{
diff --git a/usr.bin/mg/dired.c b/usr.bin/mg/dired.c
index ea27d122850..1b0cc58d27c 100644
--- a/usr.bin/mg/dired.c
+++ b/usr.bin/mg/dired.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dired.c,v 1.25 2005/10/14 15:41:33 deraadt Exp $ */
+/* $OpenBSD: dired.c,v 1.26 2005/10/14 19:46:46 kjell Exp $ */
/* This file is in the public domain. */
@@ -404,6 +404,7 @@ reaper(int signo __attribute__((unused)))
/*
* Pipe the currently selected file through a shell command.
*/
+/* ARGSUSED */
int
d_shell_command(int f, int n)
{
@@ -491,6 +492,7 @@ d_shell_command(int f, int n)
return (TRUE);
}
+/* ARGSUSED */
int
d_create_directory(int f, int n)
{
diff --git a/usr.bin/mg/extend.c b/usr.bin/mg/extend.c
index 6aef9a4ad47..e5a6d77c0cc 100644
--- a/usr.bin/mg/extend.c
+++ b/usr.bin/mg/extend.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: extend.c,v 1.36 2005/10/14 15:42:17 deraadt Exp $ */
+/* $OpenBSD: extend.c,v 1.37 2005/10/14 19:46:46 kjell Exp $ */
/* This file is in the public domain. */
@@ -508,12 +508,14 @@ define_key(int f, int n)
return (dobind(mp, buf, FALSE));
}
+/* ARGSUSED */
int
unbindtokey(int f, int n)
{
return (dobind(fundamental_map, "Global unset key: ", TRUE));
}
+/* ARGSUSED */
int
localunbind(int f, int n)
{
diff --git a/usr.bin/mg/file.c b/usr.bin/mg/file.c
index 7da16e9e96a..3227257e6f0 100644
--- a/usr.bin/mg/file.c
+++ b/usr.bin/mg/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.42 2005/10/13 20:28:49 deraadt Exp $ */
+/* $OpenBSD: file.c,v 1.43 2005/10/14 19:46:46 kjell Exp $ */
/* This file is in the public domain. */
@@ -82,6 +82,7 @@ filevisit(int f, int n)
* buffer is killed before the switch. If the kill fails, or is aborted,
* revert to the original file.
*/
+/* ARGSUSED */
int
filevisitalt(int f, int n)
{
diff --git a/usr.bin/mg/grep.c b/usr.bin/mg/grep.c
index c61bbef8f66..18fc8959d39 100644
--- a/usr.bin/mg/grep.c
+++ b/usr.bin/mg/grep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grep.c,v 1.19 2005/10/13 20:28:49 deraadt Exp $ */
+/* $OpenBSD: grep.c,v 1.20 2005/10/14 19:46:46 kjell Exp $ */
/*
* Copyright (c) 2001 Artur Grabowski <art@openbsd.org>.
* Copyright (c) 2005 Kjell Wooding <kjell@openbsd.org>.
@@ -78,6 +78,7 @@ grep_init(void)
maps_add((KEYMAP *)&compilemap, "compile");
}
+/* ARGSUSED */
static int
grep(int f, int n)
{
@@ -111,6 +112,7 @@ grep(int f, int n)
return (TRUE);
}
+/* ARGSUSED */
static int
compile(int f, int n)
{
@@ -149,6 +151,7 @@ compile(int f, int n)
}
/* id-utils foo. */
+/* ARGSUSED */
static int
gid(int f, int n)
{
@@ -273,6 +276,7 @@ compile_mode(char *name, char *command, char *path)
return (bp);
}
+/* ARGSUSED */
static int
compile_goto_error(int f, int n)
{
@@ -330,6 +334,7 @@ fail:
return (FALSE);
}
+/* ARGSUSED */
int
next_error(int f, int n)
{
diff --git a/usr.bin/mg/mail.c b/usr.bin/mg/mail.c
index f14ca04de13..1337e3dc101 100644
--- a/usr.bin/mg/mail.c
+++ b/usr.bin/mg/mail.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mail.c,v 1.7 2005/10/13 05:47:45 kjell Exp $ */
+/* $OpenBSD: mail.c,v 1.8 2005/10/14 19:46:46 kjell Exp $ */
/*
* This file is in the public domain.
*
@@ -79,6 +79,7 @@ mail_init(void)
maps_add((KEYMAP *)&mailmap, "mail-mode");
}
+/* ARGSUSED */
static int
mail(int f, int n)
{
diff --git a/usr.bin/mg/theo.c b/usr.bin/mg/theo.c
index d5d036b77b6..cf3a4e1db8d 100644
--- a/usr.bin/mg/theo.c
+++ b/usr.bin/mg/theo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: theo.c,v 1.90 2005/10/14 15:41:33 deraadt Exp $ */
+/* $OpenBSD: theo.c,v 1.91 2005/10/14 19:46:46 kjell Exp $ */
/*
* Copyright (c) 2002 Artur Grabowski <art@openbsd.org>
* All rights reserved.
@@ -52,6 +52,7 @@ theo_init(void)
maps_add((KEYMAP *)&theomap, "theo");
}
+/* ARGSUSED */
static int
theo(int f, int n)
{
@@ -181,6 +182,7 @@ static const char *talk[] = {
static const int ntalk = sizeof(talk)/sizeof(talk[0]);
+/* ARGSUSED */
static int
theo_analyze(int f, int n)
{
diff --git a/usr.bin/mg/undo.c b/usr.bin/mg/undo.c
index 65f13dcd4d8..f65006f32dd 100644
--- a/usr.bin/mg/undo.c
+++ b/usr.bin/mg/undo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: undo.c,v 1.31 2005/10/13 20:28:49 deraadt Exp $ */
+/* $OpenBSD: undo.c,v 1.32 2005/10/14 19:46:46 kjell Exp $ */
/*
* Copyright (c) 2002 Vincent Labrecque <vincent@openbsd.org>
* All rights reserved.
@@ -340,6 +340,7 @@ undo_add_change(LINE *lp, int offset, int size)
/*
* Show the undo records for the current buffer in a new buffer.
*/
+/* ARGSUSED */
int
undo_dump(int f, int n)
{
@@ -425,6 +426,7 @@ undo_dump(int f, int n)
* two undo actions, we make it point back at the topmost record. This is
* how we handle redoing.
*/
+/* ARGSUSED */
int
undo(int f, int n)
{