X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=src%2Fprototypes.h;h=08296665f4d1dda32f31659c2b0c143648f1bfda;hb=d8f43a879cd19790f03e3b87585a51328ffe08f3;hp=0640673fddd4ee68a10fa4b4df962798b8092763;hpb=6acdc84eeb7bddd975d6a00f3d8f1ac90ce1ec5b;p=lha%2Flha.git diff --git a/src/prototypes.h b/src/prototypes.h index 0640673..0829666 100644 --- a/src/prototypes.h +++ b/src/prototypes.h @@ -116,7 +116,7 @@ unsigned int encode P_((struct interfacing *interface)); unsigned int decode P_((struct interfacing *interface)); /* util.c */ size_t copyfile P_((FILE *f1, FILE *f2, long size, int text_flg, unsigned int *crcp)); -int encode_stored_crc P_((FILE *ifp, FILE *ofp, long size, long *original_size_var, long *write_size_var)); +int encode_stored_crc P_((FILE *ifp, FILE *ofp, size_t size, size_t *original_size_var, size_t *write_size_var)); 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)); @@ -137,7 +137,7 @@ char *memset P_((char *s, int c, size_t n)); #if !HAVE_STRCASECMP int strcasecmp P_((const char *p1, const char *p2)); #endif -#if !HAVE_BASENAME +#if defined HAVE_DECL_BASENAME && !HAVE_DECL_BASENAME char *basename P_((char *s)); #endif