Fixes for warnings related to -Wimplicit-int.

This commit is contained in:
Jose Rubio
2019-08-20 12:52:43 +02:00
parent 0d115796c2
commit f0c312b207
108 changed files with 177 additions and 177 deletions

View File

@@ -76,7 +76,7 @@ make FEATURE/symlink implicit
make features/symlink
done features/symlink
make cmd.req
exec - echo 'main(){return(0);}' > 1.${COTEMP}.c
exec - echo 'int main(){return(0);}' > 1.${COTEMP}.c
exec - ${CC} ${CCFLAGS} -c 1.${COTEMP}.c &&
exec - set +x
exec - x=`${CC} ${CCFLAGS} ${LDFLAGS} -o 1.${COTEMP}.x 1.${COTEMP}.o -l'*' 2>&1 | sed -e 's/[][()+@?]/#/g' || :` &&

View File

@@ -116,7 +116,7 @@ Wc_t *wc_init __PARAM__((char *space), (space)) __OTORP__(char *space;){
/*
* compute the line, word, and character count for file <fd>
*/
wc_count __PARAM__((Wc_t *wp, Sfio_t *fd), (wp, fd)) __OTORP__(Wc_t *wp; Sfio_t *fd;){
int wc_count __PARAM__((Wc_t *wp, Sfio_t *fd), (wp, fd)) __OTORP__(Wc_t *wp; Sfio_t *fd;){
signed char *space = wp->space;
unsigned char *cp;
long nwords;