X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fother.c;h=42f86cafa7da27576f4a48e218ff54ca7678bc3a;hb=faf892114d4fa54bb1e4da1a41ccd749530a553c;hp=60406e5d82688cbad68bac4edca0a33e0c7d1cf8;hpb=171ff1d7045de1059556f674470aa87a853563f0;p=debian%2Fdhcpd-pools.git diff --git a/src/other.c b/src/other.c index 60406e5..42f86ca 100644 --- a/src/other.c +++ b/src/other.c @@ -51,7 +51,7 @@ void *safe_malloc(const size_t size) } /* Simple strdup wrapper */ -inline char *safe_strdup(const char *str) +char *safe_strdup(const char *str) { char *ret = strdup(str); @@ -109,6 +109,7 @@ void print_version(void) "This is free software: you are free to change and redistribute it.\n"); fprintf(stdout, "There is NO WARRANTY, to the extent permitted by law.\n"); + exit(EXIT_SUCCESS); } void usage(int status)