3 trap "rm -f prototypes.h.tmp" 0 1 2 3 15
6 CPPFLAGS='-DSTDC_HEADERS=1
10 -DMULTIBYTE_FILENAME=1
12 -DNEED_INCREMENTAL_INDICATOR=1
16 SOURCES='append.c bitio.c crcio.c dhuf.c extract.c header.c
17 huf.c larc.c lhadd.c lharc.c lhext.c
18 lhlist.c maketbl.c maketree.c patmatch.c
22 exec 5>&1 > prototypes.h.tmp
25 /* This file was generated by cproto. */
26 #if PROTOTYPES /* defined in config.h */
34 cproto $CPROTO_FLAGS $CPPFLAGS $SOURCES | grep -v '^int main '
39 RETSIGTYPE interrupt(int signo);
42 void *memmove P_((void *dst, const void *src, size_t cnt));
45 char *strdup P_((char *buf));
48 char *memset P_((char *s, int c, int n));
53 int vsnprintf P_((char *str, size_t n, const char *fmt, va_list ap));
54 int snprintf P_((char *str, size_t n, char const *fmt, ...));
61 if ! cmp prototypes.h.tmp prototypes.h; then
62 mv -f prototypes.h prototypes.h.bak
63 mv -f prototypes.h.tmp prototypes.h