aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/common.h b/common.h
index ca6db51..3fcd407 100644
--- a/common.h
+++ b/common.h
@@ -1,4 +1,8 @@
/* See LICENSE file for copyright and license details. */
+#ifdef MULTICALL_BINARY
+# define LIBSIMPLY_CONFIG_MULTICALL_BINARY
+#endif
+
#include <libcontacts.h>
#include <libsimple.h>
#include <libsimple-arg.h>
@@ -7,17 +11,3 @@
#ifndef BUFSIZ
# define BUFSIZ 4096
#endif
-
-
-#ifdef MULTICALL_BINARY
-# undef NUSAGE
-# define NUSAGE(STATUS, SYNOPSIS)\
- static _LIBSIMPLE_NORETURN void\
- usage(void)\
- {\
- const char *syn = SYNOPSIS ? SYNOPSIS : "";\
- fprintf(stderr, "usage: %s%s%s\n", argv0, *syn ? " " : "", syn);\
- exit(STATUS);\
- }\
- extern char *argv0
-#endif