summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/funcs.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-01 17:00:26 +0000
committerderaadt <deraadt@openbsd.org>2003-06-01 17:00:26 +0000
commit1ee9984c4f4397b4e37dd231ed72dcab53ea0dff (patch)
treeeac83456bbe224ca5a01b23024644072301555e9 /sys/lib/libkern/funcs.h
parentsync (diff)
downloadwireguard-openbsd-1ee9984c4f4397b4e37dd231ed72dcab53ea0dff.tar.xz
wireguard-openbsd-1ee9984c4f4397b4e37dd231ed72dcab53ea0dff.zip
strcpy/strcat/sprintf removal in all bootblocks. various testing by
various people. outside of some messy things in src/gnu, only one thing in the main tree now violates this rule: bind
Diffstat (limited to 'sys/lib/libkern/funcs.h')
-rw-r--r--sys/lib/libkern/funcs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/lib/libkern/funcs.h b/sys/lib/libkern/funcs.h
new file mode 100644
index 00000000000..9312dfb7d8a
--- /dev/null
+++ b/sys/lib/libkern/funcs.h
@@ -0,0 +1,2 @@
+size_t strlcpy(char *, const char *, int);
+size_t strlcat(char *, const char *, int);