# HG changeset patch # User diego # Date 1228317810 0 # Node ID dcdf236c9909b9c0eb216c5a62eb12ff19fcf83f # Parent bf23e96cf362d3e2274d86a658e4c9b1ced9a537 Delete unnecessary 'extern' keywords. diff -r bf23e96cf362 -r dcdf236c9909 asf.c --- a/asf.c Wed Dec 03 13:53:13 2008 +0000 +++ b/asf.c Wed Dec 03 15:23:30 2008 +0000 @@ -26,7 +26,7 @@ #include "asf.h" #include "asfcrypt.h" -extern void ff_mms_set_stream_selection(URLContext *h, AVFormatContext *format); +void ff_mms_set_stream_selection(URLContext *h, AVFormatContext *format); #undef NDEBUG #include diff -r bf23e96cf362 -r dcdf236c9909 framehook.h --- a/framehook.h Wed Dec 03 13:53:13 2008 +0000 +++ b/framehook.h Wed Dec 03 15:23:30 2008 +0000 @@ -45,8 +45,8 @@ typedef FrameHookRelease *FrameHookReleaseFn; extern FrameHookRelease Release; -extern int frame_hook_add(int argc, char *argv[]); -extern void frame_hook_process(struct AVPicture *pict, enum PixelFormat pix_fmt, int width, int height, int64_t pts); -extern void frame_hook_release(void); +int frame_hook_add(int argc, char *argv[]); +void frame_hook_process(struct AVPicture *pict, enum PixelFormat pix_fmt, int width, int height, int64_t pts); +void frame_hook_release(void); #endif /* AVFORMAT_FRAMEHOOK_H */ diff -r bf23e96cf362 -r dcdf236c9909 mpegts.c --- a/mpegts.c Wed Dec 03 13:53:13 2008 +0000 +++ b/mpegts.c Wed Dec 03 15:23:30 2008 +0000 @@ -38,8 +38,8 @@ static PESContext* add_pes_stream(MpegTSContext *ts, int pid, int pcr_pid, int stream_type); static AVStream* new_pes_av_stream(PESContext *pes, uint32_t code); -extern void av_set_program_name(AVProgram *program, char *provider_name, char *name); -extern void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); +void av_set_program_name(AVProgram *program, char *provider_name, char *name); +void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); enum MpegTSFilterType { MPEGTS_PES, diff -r bf23e96cf362 -r dcdf236c9909 oggdec.h --- a/oggdec.h Wed Dec 03 13:53:13 2008 +0000 +++ b/oggdec.h Wed Dec 03 15:23:30 2008 +0000 @@ -85,6 +85,6 @@ extern const struct ogg_codec ff_theora_codec; extern const struct ogg_codec ff_vorbis_codec; -extern int vorbis_comment(AVFormatContext *ms, uint8_t *buf, int size); +int vorbis_comment(AVFormatContext *ms, uint8_t *buf, int size); #endif /* AVFORMAT_OGGDEC_H */ diff -r bf23e96cf362 -r dcdf236c9909 oggparsevorbis.c --- a/oggparsevorbis.c Wed Dec 03 13:53:13 2008 +0000 +++ b/oggparsevorbis.c Wed Dec 03 15:23:30 2008 +0000 @@ -30,7 +30,7 @@ #include "avformat.h" #include "oggdec.h" -extern int +int vorbis_comment(AVFormatContext * as, uint8_t *buf, int size) { const uint8_t *p = buf; diff -r bf23e96cf362 -r dcdf236c9909 os_support.h --- a/os_support.h Wed Dec 03 13:53:13 2008 +0000 +++ b/os_support.h Wed Dec 03 15:23:30 2008 +0000 @@ -93,7 +93,7 @@ #define POLLNVAL 0x1000 /* invalid file descriptor */ -extern int poll(struct pollfd *fds, nfds_t numfds, int timeout); +int poll(struct pollfd *fds, nfds_t numfds, int timeout); #endif /* HAVE_POLL_H */ #endif /* CONFIG_FFSERVER */ #endif /* CONFIG_NETWORK */