dhcpd-pools.h: function attributes declarations
[debian/dhcpd-pools.git] / src / other.c
index 60406e5..42f86ca 100644 (file)
@@ -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)