summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-10-26 11:37:11 +0100
committerJulien Cristau <jcristau@debian.org>2008-10-26 11:44:57 +0100
commit5244690a5e0285b6243ee1f28ae6c8287a32b73d (patch)
treea2ddb8d10e233bacd93632142664523c93441ba8 /os
parenteadf90aa65d1ea63ddcd74e60e66a79ad567c7e8 (diff)
Add prototypes for strlcpy/strlcat
Diffstat (limited to 'os')
-rw-r--r--os/strlcat.c1
-rw-r--r--os/strlcpy.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/os/strlcat.c b/os/strlcat.c
index b57fcc563..91ceabb1c 100644
--- a/os/strlcat.c
+++ b/os/strlcat.c
@@ -21,6 +21,7 @@
#include <sys/types.h>
#include <string.h>
+#include "os.h"
/*
* Appends src to string dst of size siz (unlike strncat, siz is the
diff --git a/os/strlcpy.c b/os/strlcpy.c
index 989d0385e..aa9d042e0 100644
--- a/os/strlcpy.c
+++ b/os/strlcpy.c
@@ -20,6 +20,7 @@
#include <sys/types.h>
#include <string.h>
+#include "os.h"
/*
* Copy src to string dst of size siz. At most siz-1 characters