]> granicus.if.org Git - sudo/commitdiff
Add missing sudo_ prefix and include sudo_compat.h.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 26 May 2015 20:01:37 +0000 (14:01 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 26 May 2015 20:01:37 +0000 (14:01 -0600)
lib/util/strnlen.c

index 1502ad0f56c8894145c9a43773dea4c57bf63aa0..20ffb3f2b63ea17bdc08f37b964f4bb009b6ac9f 100644 (file)
 
 #include <sys/types.h>
 
+#include "sudo_compat.h"
+
 size_t
-strnlen(const char *str, size_t maxlen)
+sudo_strnlen(const char *str, size_t maxlen)
 {
        const char *cp;