summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-03-21 02:41:40 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-03-21 02:41:40 -0400
commit51495e7579a1fcbdbfda868109c2128c2e933f9f (patch)
treea1a57ab349240947d9a7645d08de1294ec6114d3 /util.h
parentadbfb27a90dacca1cdea40521d8614f61fe3f7cb (diff)
stuff
Diffstat (limited to 'util.h')
-rw-r--r--util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/util.h b/util.h
index e00c8b7..121d81b 100644
--- a/util.h
+++ b/util.h
@@ -4,6 +4,7 @@
#include <signal.h> /* for sig_atomic_t */
#include <string.h> /* for memset(3) */
+#include <stdbool.h>
#define UNUSED __attribute__((__unused__))
#define ZERO(x) memset(&(x), 0, sizeof(x))
@@ -12,4 +13,6 @@
#define _(str) str
#endif
-void * xrealloc(void *ptr, size_t size);
+void *xrealloc(void *ptr, size_t size);
+bool is_numeric(const char *str);
+int get_fd(const char *addr);