mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-24 04:12:02 +00:00
standardization
SCCS-file: scheck.c SCCS-SID: 8.6
This commit is contained in:
committed by
Paul Eggert
parent
b7ffc0f6de
commit
b795ee9192
24
scheck.c
24
scheck.c
@ -11,20 +11,28 @@ static char elsieid[] = "%W%";
|
||||
#include "string.h"
|
||||
|
||||
#ifdef __STDC__
|
||||
extern char * imalloc(int n);
|
||||
extern void ifree(char * p);
|
||||
#else /* !defined __STDC__ */
|
||||
extern char * imalloc();
|
||||
extern void ifree();
|
||||
#endif /* !defined __STDC__ */
|
||||
#define P(s) s
|
||||
#endif /* defined __STDC__ */
|
||||
|
||||
#ifdef __TURBOC__
|
||||
#define P(s) s
|
||||
#endif /* defined __TURBOC__ */
|
||||
|
||||
#ifndef P
|
||||
#define P(s) ()
|
||||
#define const
|
||||
#endif /* !defined P */
|
||||
|
||||
extern char * imalloc P((int n));
|
||||
extern void ifree P((char * p));
|
||||
|
||||
char *
|
||||
scheck(string, format)
|
||||
char * string;
|
||||
const char * string;
|
||||
char * format;
|
||||
{
|
||||
register char * fbuf;
|
||||
register char * fp;
|
||||
register const char * fp;
|
||||
register char * tp;
|
||||
register int c;
|
||||
register char * result;
|
||||
|
||||
Reference in New Issue
Block a user