cvsdist b695763
--- zip-2.3/zip.h.zip	Mon Nov  8 14:36:51 1999
cvsdist b695763
+++ zip-2.3/zip.h	Tue Jan 11 11:46:06 2000
cvsdist b695763
@@ -60,6 +60,7 @@
cvsdist b695763
 
cvsdist b695763
 /* Set up portability */
cvsdist b695763
 #include "tailor.h"
cvsdist b695763
+#include <strings.h>
cvsdist b695763
 
cvsdist b695763
 #ifdef USE_ZLIB
cvsdist b695763
 #  include "zlib.h"
cvsdist b695763
@@ -433,12 +434,6 @@
cvsdist b695763
 int setfileattr OF((char *, int));
cvsdist b695763
 char *tempname OF((char *));
cvsdist b695763
 int fcopy OF((FILE *, FILE *, ulg));
cvsdist b695763
-
cvsdist b695763
-#ifdef ZMEM
cvsdist b695763
-   char *memset OF((char *, int, unsigned int));
cvsdist b695763
-   char *memcpy OF((char *, char *, unsigned int));
cvsdist b695763
-   int memcmp OF((char *, char *, unsigned int));
cvsdist b695763
-#endif /* ZMEM */
cvsdist b695763
 
cvsdist b695763
         /* in system dependent fileio code (<system>.c) */
cvsdist b695763
 #ifndef UTIL
cvsdist b695763
--- zip-2.3/fileio.c.zip	Sun Nov  7 05:29:03 1999
cvsdist b695763
+++ zip-2.3/fileio.c	Tue Jan 11 11:46:43 2000
cvsdist b695763
@@ -918,67 +918,3 @@
cvsdist b695763
 }
cvsdist b695763
 
cvsdist b695763
 #endif /* NO_RENAME */
cvsdist b695763
-
cvsdist b695763
-
cvsdist b695763
-#ifdef ZMEM
cvsdist b695763
-
cvsdist b695763
-/************************/
cvsdist b695763
-/*  Function memset()   */
cvsdist b695763
-/************************/
cvsdist b695763
-
cvsdist b695763
-/*
cvsdist b695763
- * memset - for systems without it
cvsdist b695763
- *  bill davidsen - March 1990
cvsdist b695763
- */
cvsdist b695763
-
cvsdist b695763
-char *
cvsdist b695763
-memset(buf, init, len)
cvsdist b695763
-register char *buf;     /* buffer loc */
cvsdist b695763
-register int init;      /* initializer */
cvsdist b695763
-register unsigned int len;   /* length of the buffer */
cvsdist b695763
-{
cvsdist b695763
-    char *start;
cvsdist b695763
-
cvsdist b695763
-    start = buf;
cvsdist b695763
-    while (len--) *(buf++) = init;
cvsdist b695763
-    return(start);
cvsdist b695763
-}
cvsdist b695763
-
cvsdist b695763
-
cvsdist b695763
-/************************/
cvsdist b695763
-/*  Function memcpy()   */
cvsdist b695763
-/************************/
cvsdist b695763
-
cvsdist b695763
-char *
cvsdist b695763
-memcpy(dst,src,len)             /* v2.0f */
cvsdist b695763
-register char *dst, *src;
cvsdist b695763
-register unsigned int len;
cvsdist b695763
-{
cvsdist b695763
-    char *start;
cvsdist b695763
-
cvsdist b695763
-    start = dst;
cvsdist b695763
-    while (len--)
cvsdist b695763
-        *dst++ = *src++;
cvsdist b695763
-    return(start);
cvsdist b695763
-}
cvsdist b695763
-
cvsdist b695763
-
cvsdist b695763
-/************************/
cvsdist b695763
-/*  Function memcmp()   */
cvsdist b695763
-/************************/
cvsdist b695763
-
cvsdist b695763
-int
cvsdist b695763
-memcmp(b1,b2,len)                     /* jpd@usl.edu -- 11/16/90 */
cvsdist b695763
-register char *b1, *b2;
cvsdist b695763
-register unsigned int len;
cvsdist b695763
-{
cvsdist b695763
-
cvsdist b695763
-    if (len) do {       /* examine each byte (if any) */
cvsdist b695763
-      if (*b1++ != *b2++)
cvsdist b695763
-        return (*((uch *)b1-1) - *((uch *)b2-1));  /* exit when miscompare */
cvsdist b695763
-    } while (--len);
cvsdist b695763
-
cvsdist b695763
-    return(0);          /* no miscompares, yield 0 result */
cvsdist b695763
-}
cvsdist b695763
-
cvsdist b695763
-#endif  /* ZMEM */