summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2006-06-15 15:56:55 +0000
committermaxim <maxim@FreeBSD.org>2006-06-15 15:56:55 +0000
commit3e4e0ea538b31df8eeff7ec24df0ead386e568dd (patch)
tree1fe2b81d66215f7767ab57dead22b6a3efb504bc /lib/libc/string
parentec2f873875a950e632f5a53e95f11295bf57c80b (diff)
downloadFreeBSD-src-3e4e0ea538b31df8eeff7ec24df0ead386e568dd.zip
FreeBSD-src-3e4e0ea538b31df8eeff7ec24df0ead386e568dd.tar.gz
o Make grep ^strlcpy work: put a return value type on separate line.
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strlcpy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/string/strlcpy.c b/lib/libc/string/strlcpy.c
index 77180a5..0fc56a4 100644
--- a/lib/libc/string/strlcpy.c
+++ b/lib/libc/string/strlcpy.c
@@ -41,7 +41,8 @@ __FBSDID("$FreeBSD$");
* will be copied. Always NUL terminates (unless siz == 0).
* Returns strlen(src); if retval >= siz, truncation occurred.
*/
-size_t strlcpy(dst, src, siz)
+size_t
+strlcpy(dst, src, siz)
char *dst;
const char *src;
size_t siz;
OpenPOWER on IntegriCloud