OSDN Git Service

update prototypes.h using cproto
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Tue, 4 Sep 2007 11:08:21 +0000 (11:08 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Tue, 4 Sep 2007 11:08:21 +0000 (11:08 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@873 6a8cc165-1e22-0410-a132-eb4e3f353aba

src/prototypes.h

index 42f4ab4..8297f7b 100644 (file)
@@ -126,19 +126,19 @@ boolean archive_is_msdos_sfx1 P_((char *name));
 int xsnprintf P_((char *dest, size_t size, char *fmt, ...));
 char *xstrchr P_((const char *s, int c));
 char *xstrrchr P_((const char *s, int c));
-char *xmemchr P_((const char *s, int c, off_t n));
-char *xmemrchr P_((const char *s, int c, off_t n));
+char *xmemchr P_((const char *s, int c, size_t n));
+char *xmemrchr P_((const char *s, int c, size_t n));
 int str_safe_copy P_((char *dst, const char *src, int dstsz));
 
 /* util.c */
 #if !HAVE_MEMMOVE
-void *memmove P_((void *dst, const void *src, off_t cnt));
+void *memmove P_((void *dst, const void *src, size_t cnt));
 #endif
 #if !HAVE_STRDUP
 char *strdup P_((const char *buf));
 #endif
 #if !HAVE_MEMSET
-char *memset P_((char *s, int c, off_t n));
+char *memset P_((char *s, int c, size_t n));
 #endif
 #if !HAVE_STRCASECMP
 int strcasecmp P_((const char *p1, const char *p2));