util.h for strlcpy() and MIN() macro - sdhcp - simple dhcp client
(HTM) git clone git://git.codemadness.org/sdhcp
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 64736a417ed037670ee916078b94903d9882f28e
(DIR) parent 2e4eae5360a37cf9d7ebad8cb4bfa135dae6b3d8
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 25 Apr 2014 20:57:46 +0200
util.h for strlcpy() and MIN() macro
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
M sdhcp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
(DIR) 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];