]> granicus.if.org Git - sudo/commitdiff
Add strlc{at,py} protos
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 13 Mar 2003 17:54:04 +0000 (17:54 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 13 Mar 2003 17:54:04 +0000 (17:54 +0000)
sudo.h

diff --git a/sudo.h b/sudo.h
index a562812582db81fdefa8db5875f9a9318d849d98..deba740ab2e18f8911bf0a1b896d7f79334e6f8a 100644 (file)
--- a/sudo.h
+++ b/sudo.h
@@ -196,6 +196,12 @@ int vasprintf              __P((char **, const char *, va_list));
 #ifndef HAVE_STRCASECMP
 int strcasecmp         __P((const char *, const char *));
 #endif
+#ifndef HAVE_STRLCAT
+size_t strlcat         __P((char *, const char *, size_t));
+#endif
+#ifndef HAVE_STRLCPY
+size_t strlcpy         __P((char *, const char *, size_t));
+#endif
 char *sudo_goodpath    __P((const char *));
 char *tgetpass         __P((const char *, int, int));
 int find_path          __P((char *, char **, char *));