Opened 15 years ago

Closed 15 years ago

#3460 closed bug (fixed)

redundant redeclarations

Reported by: scottmc Owned by: axeld
Priority: normal Milestone: R1
Component: - General Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Not sure if this a an issue or not, but I've been seeing a lot of redundant redeclaration warnings lately... here's a snippet of a recent series of them.

/boot/develop/headers/bsd/stdlib.h:16: warning: redundant redeclaration of `daemon' in same scope
/boot/develop/headers/posix/stdlib.h:63: warning: previous declaration of `daemon'
In file included from /boot/home/ffmpeg/libavformat/avformat.h:44,
                 from /boot/home/ffmpeg/ffserver.c:32:
/boot/develop/headers/bsd/stdio.h:16: warning: redundant redeclaration of `fgetln' in same scope
/boot/develop/headers/posix/stdio.h:138: warning: previous declaration of `fgetln'
In file included from /boot/develop/headers/bsd/unistd.h:9,
                 from /boot/home/ffmpeg/ffserver.c:42:
/boot/develop/headers/posix/unistd.h:193: warning: redundant redeclaration of `clock' in same scope
/boot/develop/headers/posix/time.h:58: warning: previous declaration of `clock'
/boot/develop/headers/posix/unistd.h:251: warning: redundant redeclaration of `environ' in same scope
/boot/develop/headers/posix/stdlib.h:76: warning: previous declaration of `environ'
In file included from /boot/develop/headers/bsd/signal.h:9,
                 from /boot/develop/headers/posix/sys/select.h:10,
                 from /boot/develop/headers/posix/sys/time.h:16,
                 from /boot/home/ffmpeg/ffserver.c:49:
/boot/develop/headers/posix/signal.h:177: warning: redundant redeclaration of `strsignal' in same scope
/boot/develop/headers/posix/string.h:74: warning: previous declaration of `strsignal'

Change History (1)

comment:1 by zooey, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev31938.

Note: See TracTickets for help on using tickets.