1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-04-13 23:23:57 +00:00

fix warning: a function declaration without a prototype is deprecated in all versions of C

make savestr() static and remove it from dlpidefs.h since it is not used outside of dlpi.c
This commit is contained in:
Nick Briggs
2022-12-13 11:13:09 -08:00
parent 39a716ace8
commit a3ba41fba2
2 changed files with 14 additions and 15 deletions

View File

@@ -4,6 +4,5 @@
int setup_dlpi_dev(char *device);
void flush_dlpi(int fd);
int dlpi_devtype(int fd);
char *savestr(char *s);
int dlunitdatareq(int fd, u_char *addrp, int addrlen, u_long minpri, u_long maxpri, u_char *datap, int datalen);
#endif