util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ipcrm: add static keyword to some functions
@ 2011-09-28 14:25 Francesco Cosoleto
  2011-09-28 14:25 ` [PATCH 2/3] ipcrm: use ternary operator in "(key|id) failed" message Francesco Cosoleto
  2011-09-28 14:25 ` [PATCH 3/3] ipcrm: fix wrong subject in error messages for -m, -q, -s id options Francesco Cosoleto
  0 siblings, 2 replies; 4+ messages in thread
From: Francesco Cosoleto @ 2011-09-28 14:25 UTC (permalink / raw)
  To: util-linux; +Cc: Francesco Cosoleto

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
---
 sys-utils/ipcrm.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c
index 90767d6..dc47f90 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;
-- 
1.7.3.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-28 22:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 14:25 [PATCH 1/3] ipcrm: add static keyword to some functions Francesco Cosoleto
2011-09-28 14:25 ` [PATCH 2/3] ipcrm: use ternary operator in "(key|id) failed" message Francesco Cosoleto
2011-09-28 22:40   ` [PATCH 1/3] ipcrm: add static keyword to some functions Karel Zak
2011-09-28 14:25 ` [PATCH 3/3] ipcrm: fix wrong subject in error messages for -m, -q, -s id options Francesco Cosoleto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).