Remove obsolete C prototypes
This commit is contained in:
parent
10e6c0b7bd
commit
9e85f4bd92
20
src/unroff.h
20
src/unroff.h
|
@ -13,28 +13,8 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
|
||||||
/* Include files that may be required by gcc although they shouldn't:
|
|
||||||
*/
|
|
||||||
#include <memory.h>
|
|
||||||
|
|
||||||
|
|
||||||
/* Prototypes that may be required by cc/gcc although they shouldn't:
|
|
||||||
*/
|
|
||||||
extern time_t time(time_t *);
|
|
||||||
extern size_t strftime(char *, size_t, const char *, const struct tm *);
|
|
||||||
extern long strtol(const char *s, char **endp, int base);
|
|
||||||
extern double strtod(const char *s, char **endp);
|
|
||||||
extern int pclose(FILE *);
|
|
||||||
extern int system(const char *);
|
|
||||||
|
|
||||||
|
|
||||||
#include <elk/scheme.h>
|
#include <elk/scheme.h>
|
||||||
|
|
||||||
/* Prototypes that were missing from "scheme.h" in some Elk releases:
|
|
||||||
*/
|
|
||||||
extern void Elk_Init(int ac, char **av, int call_inits, char *filename);
|
|
||||||
extern void Load_Source_Port(Object);
|
|
||||||
|
|
||||||
|
|
||||||
/* Used for passing a `char' to a function that takes an `int' argument,
|
/* Used for passing a `char' to a function that takes an `int' argument,
|
||||||
* such as isspace(). Maybe I should have used `unsigned char' rather
|
* such as isspace(). Maybe I should have used `unsigned char' rather
|
||||||
|
|
Loading…
Reference in New Issue