From b0a52727ffe3d7a93b03033c2b9d20a549987e47 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Wed, 6 Dec 2000 20:19:04 +0000 Subject: [PATCH] add prototypes for strvis* git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9280 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h.in | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 84fe44d8e..92aefbdea 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -114,9 +114,8 @@ struct sockaddr_dl; #include #endif -#ifdef __cplusplus -extern "C" { -#endif + +ROKEN_CPP_START #ifndef ROKEN_LIB_FUNCTION #if defined(__BORLANDC__) @@ -357,6 +356,25 @@ mkstemp(char *template); void pidfile (const char*); #endif +#ifndef HAVE_STSVIS +int strsvis(char *, const char*, int, const char *extra); +#endif +#ifndef HAVE_STRSVISX +int strsvisx(char*, const char*, size_t, int, const char*); +#endif +#ifndef HAVE_STRVIS +int strvis(char*, const char*, int); +#endif +#ifndef HAVE_STRVISX +int strvisx(char*, const char*, size_t, int); +#endif +#ifndef HAVE_SVIS +char *svis(char*, int, int, int, const char *); +#endif +#ifndef HAVE_VIS +char *vis(char*, int, int, int); +#endif + #ifndef HAVE_FLOCK #ifndef LOCK_SH #define LOCK_SH 1 /* Shared lock */ @@ -595,6 +613,4 @@ struct hostent* roken_gethostbyaddr(const void*, size_t, int); void set_progname(char *argv0); const char *get_progname(void); -#ifdef __cplusplus -} -#endif +_rk_cpp_end