From 14cbdb85dd587fc9c27686e897870002bd7685a5 Mon Sep 17 00:00:00 2001 From: Francesco Cosoleto Date: Wed, 28 Sep 2011 16:25:29 +0200 Subject: ipcrm: add static keyword to some functions Signed-off-by: Francesco Cosoleto --- sys-utils/ipcrm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys-utils/ipcrm.c') diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c index 90767d611..dc47f90bb 100644 --- a/sys-utils/ipcrm.c +++ b/sys-utils/ipcrm.c @@ -64,7 +64,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out) exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); } -int remove_id(int type, int iskey, int id) +static int remove_id(int type, int iskey, int id) { int ret; char *errmsg; @@ -163,7 +163,7 @@ static int deprecated_main(int argc, char **argv) return 1; } -unsigned long strtokey(const char *str, const char *errmesg) +static unsigned long strtokey(const char *str, const char *errmesg) { unsigned long num; char *end = NULL; @@ -230,7 +230,7 @@ static int key_to_id(type_id type, char *optarg) return id; } -int remove_all(type_id type) +static int remove_all(type_id type) { int ret = 0; int id, rm_me, maxid; -- cgit v1.2.3-55-g7522