summaryrefslogtreecommitdiffstats
path: root/include/setproctitle.h
diff options
context:
space:
mode:
authorKarel Zak2011-08-25 12:07:12 +0200
committerKarel Zak2011-10-26 23:17:15 +0200
commit52b7b4876c03168ab19d6f5bbd02d1aa09f100fd (patch)
tree13550e255d904825abdafbabe4df3beac468314a /include/setproctitle.h
parentlogin: remove PAM_FAIL_CHECK and PAM_END macros (diff)
downloadkernel-qcow2-util-linux-52b7b4876c03168ab19d6f5bbd02d1aa09f100fd.tar.gz
kernel-qcow2-util-linux-52b7b4876c03168ab19d6f5bbd02d1aa09f100fd.tar.xz
kernel-qcow2-util-linux-52b7b4876c03168ab19d6f5bbd02d1aa09f100fd.zip
lib: cleanup setproctitle.c
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/setproctitle.h')
-rw-r--r--include/setproctitle.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/setproctitle.h b/include/setproctitle.h
index d57abda6b..70a9efa10 100644
--- a/include/setproctitle.h
+++ b/include/setproctitle.h
@@ -1,7 +1,7 @@
+#ifndef UTIL_LINUX_SETPROCTITLE_H
+#define UTIL_LINUX_SETPROCTITLE_H
+
+extern void initproctitle (int argc, char **argv);
+extern void setproctitle (const char *prog, const char *txt);
-void initproctitle (int argc, char **argv);
-#if 0
-void setproctitle (const char *fmt, ...);
-#else
-void setproctitle (const char *prog, const char *txt);
#endif