Fixes for warnings related to -Wimplicit-int.
This commit is contained in:
@@ -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' || :` &&
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user