From b9f4db89510f570754761d42d48e6fbf21cac2f6 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 18 Sep 2009 13:08:20 +0000 Subject: [PATCH] Add protos for missing libc bits --- sudoreplay.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sudoreplay.c b/sudoreplay.c index fa4253616..3096fc2a0 100644 --- a/sudoreplay.c +++ b/sudoreplay.c @@ -154,6 +154,12 @@ extern char *get_timestr __P((time_t, int)); #ifndef HAVE_GETLINE extern ssize_t getline __P((char **, size_t *, FILE *)); #endif +#ifndef HAVE_STRLCPY +extern size_t strlcpy __P((char *, const char *, size_t)); +#endif +#ifndef HAVE_SNPRINTF +int snprintf __P((char *, size_t, const char *, ...)) __printflike(3, 4); +#endif static int list_sessions __P((int, char **, const char *, const char *, const char *)); static int parse_expr __P((struct search_node **, char **)); -- 2.40.0