commit 49c0d11a9521b5ede0b83817168ae3007dbc3a8f
parent eba4984afadb8ef76d964f55e491e5dfedd2255d
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 9 Nov 2014 19:10:56 +0000
add util.h for strlcpyfor namelist, add gitignore
Diffstat:
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1,3 @@
+config.h
+*.o
+*.a
diff --git a/hysteria-namelist.c b/hysteria-namelist.c
@@ -7,6 +7,8 @@
#include <sys/stat.h>
#include <sys/types.h>
+#include "util.h"
+
#define IRC_CHANNEL_MAX 200
#define IRC_NAME_MAX 50
diff --git a/util.h b/util.h
@@ -1,5 +1,3 @@
/* See LICENSE file for copyright and license details. */
-#include "arg.h"
-
#undef strlcpy
size_t strlcpy(char *, const char *, size_t);