home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari FTP
/
ATARI_FTP_0693.zip
/
ATARI_FTP_0693
/
Tex
/
Tex31
/
texsrc.lzh
/
COMMON.LZH
/
COMMON.H
next >
Wrap
C/C++ Source or Header
|
1991-01-13
|
732b
|
36 lines
/* common.h: Definitions and declarations common both to the change
files and to web2c itself. */
#ifndef COMMON_H
#define COMMON_H
/* pltotf et al. use the symbol `index' themselves; we don't want to
redefine it in those cases (and those programs don't use the other
string functions, fortunately). */
#ifndef index
#ifndef BSD
#include <string.h>
#define index strchr
#define rindex strrchr
#else /* BSD */
#include <strings.h>
#endif /* BSD */
#endif /* not index */
extern char *getenv (), *rindex ();
#if !defined(ANSI) && !defined(_POSIX_SOURCE)
extern SPRINTF_RETURN_TYPE sprintf ();
#endif
/* Global constants. */
#define true 1
#define false 0
#define TRUE 1
#define FALSE 0
#endif /* not COMMON_H */