diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-04 13:37:31 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-04 13:37:31 +0200 |
commit | d831e279cb856ec720ed770ce9d0c39eb347b7e1 (patch) | |
tree | 51dac38fdba5dfdee06a46fa7bed3dc0f01c035f /common.h | |
parent | misc (diff) | |
download | contacts-d831e279cb856ec720ed770ce9d0c39eb347b7e1.tar.gz contacts-d831e279cb856ec720ed770ce9d0c39eb347b7e1.tar.bz2 contacts-d831e279cb856ec720ed770ce9d0c39eb347b7e1.tar.xz |
m + add list-birthdays and set-contact-birthday
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | common.h | 18 |
1 files changed, 4 insertions, 14 deletions
@@ -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 |