diff options
author | Nicholas Noll <nnoll523@gmail.com> | 2020-06-20 13:32:11 -0700 |
---|---|---|
committer | Nicholas Noll <nnoll523@gmail.com> | 2020-06-20 13:32:11 -0700 |
commit | db8e974d48b8a9de58f660f159a780dce2992bb7 (patch) | |
tree | 5e0c6a6eafe015edc2d029f82473efc1b7483f1e /sys/cmd/ic | |
parent | 8177d942ac3fbb35ce84fb66b828d1b78a0ef6cd (diff) |
fix: added file to make bootstrapping on new device easier. small changes to accomodate
Diffstat (limited to 'sys/cmd/ic')
-rw-r--r-- | sys/cmd/ic/.gitignore | 3 | ||||
-rw-r--r-- | sys/cmd/ic/ic.c | 2 | ||||
-rw-r--r-- | sys/cmd/ic/rules.mk | 2 |
3 files changed, 1 insertions, 6 deletions
diff --git a/sys/cmd/ic/.gitignore b/sys/cmd/ic/.gitignore deleted file mode 100644 index 43d0692..0000000 --- a/sys/cmd/ic/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -ii -*.a -*.o diff --git a/sys/cmd/ic/ic.c b/sys/cmd/ic/ic.c index 50ce8c1..19b868d 100644 --- a/sys/cmd/ic/ic.c +++ b/sys/cmd/ic/ic.c @@ -14,9 +14,7 @@ #include <netdb.h> #include <netinet/in.h> -#ifdef NEED_STRLCPY size_t strlcpy(char *, const char *, size_t); -#endif #define IRC_CHANNEL_MAX 200 #define IRC_MSG_MAX 512 /* guaranteed to be <= than PIPE_BUF */ diff --git a/sys/cmd/ic/rules.mk b/sys/cmd/ic/rules.mk index 9a52e42..c373dfb 100644 --- a/sys/cmd/ic/rules.mk +++ b/sys/cmd/ic/rules.mk @@ -2,7 +2,7 @@ include share/push.mk # Iterate through subdirectory tree # Local sources -SRCS_$(d) := $(d)/ic.c +SRCS_$(d) := $(d)/strlcpy.c $(d)/ic.c BINS_$(d) := $(d)/ic include share/paths.mk |