aboutsummaryrefslogtreecommitdiff
path: root/bin/kill/kill.c
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2004-03-15 04:10:29 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2004-03-15 04:10:29 +0000
commitc83afe7be91c8a2e06026a453016d608882514d4 (patch)
tree19df47a516af4f0faba65155edd6ee42e030eff0 /bin/kill/kill.c
parent9c4c393a74349044d603be9560518984fac7f3d9 (diff)
downloadsrc-c83afe7be91c8a2e06026a453016d608882514d4.tar.gz
src-c83afe7be91c8a2e06026a453016d608882514d4.zip
static and const.
Notes
Notes: svn path=/head/; revision=127005
Diffstat (limited to 'bin/kill/kill.c')
-rw-r--r--bin/kill/kill.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/bin/kill/kill.c b/bin/kill/kill.c
index a1c8515a93e8..44c084e57c3b 100644
--- a/bin/kill/kill.c
+++ b/bin/kill/kill.c
@@ -53,10 +53,10 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <string.h>
-void nosig(char *);
-void printsignals(FILE *);
-int signame_to_signum(char *);
-void usage(void);
+static void nosig(const char *);
+static void printsignals(FILE *);
+static int signame_to_signum(const char *);
+static void usage(void);
int
main(int argc, char *argv[])
@@ -139,8 +139,8 @@ main(int argc, char *argv[])
exit(errors);
}
-int
-signame_to_signum(char *sig)
+static int
+signame_to_signum(const char *sig)
{
int n;
@@ -153,8 +153,8 @@ signame_to_signum(char *sig)
return (-1);
}
-void
-nosig(char *name)
+static void
+nosig(const char *name)
{
warnx("unknown signal %s; valid signals:", name);
@@ -162,7 +162,7 @@ nosig(char *name)
exit(1);
}
-void
+static void
printsignals(FILE *fp)
{
int n;
@@ -176,7 +176,7 @@ printsignals(FILE *fp)
}
}
-void
+static void
usage(void)
{