File zoo-return.patch of Package zoo
Index: ar.h
===================================================================
--- ar.h.orig 1992-07-27 03:35:14.000000000 +0200
+++ ar.h 2009-11-24 19:46:09.214621000 +0100
@@ -116,7 +116,9 @@ int make_tree
void move_left();
#else
# define MOVE_LEFT memmove
+# ifndef ANSI_HDRS
extern VOIDPTR memmove();
+# endif
#endif
#if 0
Index: bsd.c
===================================================================
--- bsd.c.orig 1991-07-11 21:06:26.000000000 +0200
+++ bsd.c 2009-11-24 19:46:09.223621000 +0100
@@ -104,4 +104,5 @@ int zootrunc(f) FILE *f;
seekpos = lseek(fd, 0L, SEEK_CUR);
if (seekpos >= 0)
return ftruncate(fd, seekpos);
+ return 0;
}
Index: mstime.i
===================================================================
--- mstime.i.orig 1991-07-11 21:07:28.000000000 +0200
+++ mstime.i 2009-11-24 19:46:09.230621000 +0100
@@ -12,6 +12,7 @@ static char mstimeid[]="@(#) mstime.i 2.
Function mstime() converts time in seconds since January 1 of BASEYEAR
to MS-DOS format date and time.
*/
+void
mstime(longtime, date, time)
long longtime; /* input: seconds since Jan 1, BASEYEAR */
int *date, *time; /* output: MS-DOS format date and time */
Index: nixtime.i
===================================================================
--- nixtime.i.orig 1991-07-11 21:07:30.000000000 +0200
+++ nixtime.i 2009-11-24 19:46:09.245621000 +0100
@@ -36,6 +36,7 @@ unsigned *date, *time;
(tm->tm_hour << 11);
}
+ return 0;
}
/*****************
Index: options.h
===================================================================
--- options.h.orig 2009-11-24 19:46:08.758710000 +0100
+++ options.h 2009-11-24 19:46:09.249623000 +0100
@@ -157,11 +157,13 @@ For documentation about this file, see o
#define GETTZ
#define FATTR
#define T_SIGNAL void
+#define STDARG
/* #define VARARGS */
/* #define NEED_MEMMOVE */
#define T_UINT16 unsigned short /* must be 16 bit unsigned */
#define HAVE_ISATTY
/* #define NEED_VPRINTF */
+#define BSD4_3 /* for I/O definitions */
#endif /* BSD4_4 */
/***********************************************************************/