util.h for strlcpy() and MIN() macro - sdhcp - simple dhcp client | |
git clone git://git.codemadness.org/sdhcp | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 64736a417ed037670ee916078b94903d9882f28e | |
parent 2e4eae5360a37cf9d7ebad8cb4bfa135dae6b3d8 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Fri, 25 Apr 2014 20:57:46 +0200 | |
util.h for strlcpy() and MIN() macro | |
Signed-off-by: Hiltjo Posthuma <[email protected]> | |
Diffstat: | |
M sdhcp.c | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/sdhcp.c b/sdhcp.c | |
@@ -13,8 +13,7 @@ | |
#include <time.h> | |
#include <unistd.h> | |
-#define MIN(a,b) (((a)<(b))?(a):(b)) | |
- | |
+#include "util.h" | |
typedef struct bootp { | |
unsigned char op [1]; |