Remove snprintf.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@570 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		@@ -3,6 +3,8 @@
 | 
				
			|||||||
#ifndef __ROKEN_H__
 | 
					#ifndef __ROKEN_H__
 | 
				
			||||||
#define __ROKEN_H__
 | 
					#define __ROKEN_H__
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <stdlib.h>
 | 
				
			||||||
 | 
					#include <string.h>
 | 
				
			||||||
#include <sys/types.h>
 | 
					#include <sys/types.h>
 | 
				
			||||||
#include <netinet/in.h>
 | 
					#include <netinet/in.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -35,10 +37,6 @@ typedef RETSIGTYPE (*SigAction)(/* int??? */);
 | 
				
			|||||||
SigAction signal(int iSig, SigAction pAction); /* BSD compatible */
 | 
					SigAction signal(int iSig, SigAction pAction); /* BSD compatible */
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef HAVE_SNPRINTF
 | 
					 | 
				
			||||||
int snprintf(char *s, int n, const char *fmt, ...);
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifndef HAVE_STRERROR
 | 
					#ifndef HAVE_STRERROR
 | 
				
			||||||
char *strerror(int eno);
 | 
					char *strerror(int eno);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,6 +3,8 @@
 | 
				
			|||||||
#ifndef __ROKEN_H__
 | 
					#ifndef __ROKEN_H__
 | 
				
			||||||
#define __ROKEN_H__
 | 
					#define __ROKEN_H__
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <stdlib.h>
 | 
				
			||||||
 | 
					#include <string.h>
 | 
				
			||||||
#include <sys/types.h>
 | 
					#include <sys/types.h>
 | 
				
			||||||
#include <netinet/in.h>
 | 
					#include <netinet/in.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -35,10 +37,6 @@ typedef RETSIGTYPE (*SigAction)(/* int??? */);
 | 
				
			|||||||
SigAction signal(int iSig, SigAction pAction); /* BSD compatible */
 | 
					SigAction signal(int iSig, SigAction pAction); /* BSD compatible */
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef HAVE_SNPRINTF
 | 
					 | 
				
			||||||
int snprintf(char *s, int n, const char *fmt, ...);
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifndef HAVE_STRERROR
 | 
					#ifndef HAVE_STRERROR
 | 
				
			||||||
char *strerror(int eno);
 | 
					char *strerror(int eno);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user