From 025c5d9156ca534cf49b1f323300dc329d8eeca5 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sat, 8 Jun 1996 21:53:03 +0000 Subject: [PATCH] Remove snprintf. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@570 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h | 6 ++---- lib/roken/roken.h.in | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/lib/roken/roken.h b/lib/roken/roken.h index 30c7c83d0..22b81de7a 100644 --- a/lib/roken/roken.h +++ b/lib/roken/roken.h @@ -3,6 +3,8 @@ #ifndef __ROKEN_H__ #define __ROKEN_H__ +#include +#include #include #include @@ -35,10 +37,6 @@ typedef RETSIGTYPE (*SigAction)(/* int??? */); SigAction signal(int iSig, SigAction pAction); /* BSD compatible */ #endif -#ifndef HAVE_SNPRINTF -int snprintf(char *s, int n, const char *fmt, ...); -#endif - #ifndef HAVE_STRERROR char *strerror(int eno); #endif diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 30c7c83d0..22b81de7a 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -3,6 +3,8 @@ #ifndef __ROKEN_H__ #define __ROKEN_H__ +#include +#include #include #include @@ -35,10 +37,6 @@ typedef RETSIGTYPE (*SigAction)(/* int??? */); SigAction signal(int iSig, SigAction pAction); /* BSD compatible */ #endif -#ifndef HAVE_SNPRINTF -int snprintf(char *s, int n, const char *fmt, ...); -#endif - #ifndef HAVE_STRERROR char *strerror(int eno); #endif