diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-27 16:47:10 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-27 16:47:10 +0000 |
commit | 0a582e00a5da5d5844560822cbd4d2fae5cbb09f (patch) | |
tree | 514a3aa09e51636f1a8b4c33652ffe57dc88dcf9 | |
parent | bd8cd7733f7c7684a85703b7a7d91fff1d2a6238 (diff) | |
download | xine-lib-0a582e00a5da5d5844560822cbd4d2fae5cbb09f.tar.gz xine-lib-0a582e00a5da5d5844560822cbd4d2fae5cbb09f.tar.bz2 |
man errno: "must not be explicitly declared; errno may be a macro"
(thanks Chris Rankin for noticing)
CVS patchset: 3693
CVS date: 2002/12/27 16:47:10
-rw-r--r-- | src/input/input_cda.c | 4 | ||||
-rw-r--r-- | src/input/input_dvb.c | 2 | ||||
-rw-r--r-- | src/input/input_dvd.c | 9 | ||||
-rw-r--r-- | src/input/input_file.c | 4 | ||||
-rw-r--r-- | src/input/input_http.c | 2 | ||||
-rw-r--r-- | src/input/input_mms.c | 4 | ||||
-rw-r--r-- | src/input/input_net.c | 4 | ||||
-rw-r--r-- | src/input/input_pnm.c | 2 | ||||
-rw-r--r-- | src/input/input_rtp.c | 2 | ||||
-rw-r--r-- | src/input/input_rtsp.c | 2 | ||||
-rw-r--r-- | src/input/input_stdin_fifo.c | 4 | ||||
-rw-r--r-- | src/input/input_vcd.c | 4 | ||||
-rw-r--r-- | src/xine-engine/load_plugins.c | 4 |
13 files changed, 12 insertions, 35 deletions
diff --git a/src/input/input_cda.c b/src/input/input_cda.c index 7eaae43a9..9ab34aff5 100644 --- a/src/input/input_cda.c +++ b/src/input/input_cda.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_cda.c,v 1.37 2002/11/01 17:51:57 mroi Exp $ + * $Id: input_cda.c,v 1.38 2002/12/27 16:47:10 miguelfreitas Exp $ */ #ifdef HAVE_CONFIG_H @@ -75,8 +75,6 @@ #include "xineutils.h" #include "input_plugin.h" -extern int errno; - /* #define DEBUG_DISC #define DEBUG_POS diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c index ee82758b7..6a5b3c7a7 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -51,8 +51,6 @@ #define LOG */ -extern int errno; - #define FRONTEND_DEVICE "/dev/ost/frontend" #define SEC_DEVICE "/dev/ost/sec" #define DEMUX_DEVICE "/dev/ost/demux" diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c index b393d7ad3..625a826b6 100644 --- a/src/input/input_dvd.c +++ b/src/input/input_dvd.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_dvd.c,v 1.124 2002/12/22 23:35:42 miguelfreitas Exp $ + * $Id: input_dvd.c,v 1.125 2002/12/27 16:47:10 miguelfreitas Exp $ * */ @@ -129,9 +129,6 @@ # endif #endif -/* Globals */ -extern int errno; - /* Array to hold MRLs returned by get_autoplay_list */ #define MAX_DIR_ENTRIES 1250 #define MAX_STR_LEN 255 @@ -1648,6 +1645,10 @@ static void *init_class (xine_t *xine, void *data) { /* * $Log: input_dvd.c,v $ + * Revision 1.125 2002/12/27 16:47:10 miguelfreitas + * man errno: "must not be explicitly declared; errno may be a macro" + * (thanks Chris Rankin for noticing) + * * Revision 1.124 2002/12/22 23:35:42 miguelfreitas * it doesn't make sense to reimplement flush here. * (this is why xine_demux_flush_engine was created, to avoid redundant code) diff --git a/src/input/input_file.c b/src/input/input_file.c index edfa9615d..e314cf948 100644 --- a/src/input/input_file.c +++ b/src/input/input_file.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_file.c,v 1.70 2002/12/21 12:56:47 miguelfreitas Exp $ + * $Id: input_file.c,v 1.71 2002/12/27 16:47:10 miguelfreitas Exp $ */ #ifdef HAVE_CONFIG_H @@ -39,8 +39,6 @@ #include "compat.h" #include "input_plugin.h" -extern int errno; - #define MAXFILES 65535 typedef struct { diff --git a/src/input/input_http.c b/src/input/input_http.c index 9304f90ad..cfd91f6b3 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -41,8 +41,6 @@ #include "input_plugin.h" #include "net_buf_ctrl.h" -extern int errno; - /* #define LOG */ diff --git a/src/input/input_mms.c b/src/input/input_mms.c index 43b98d31f..3ce436f38 100644 --- a/src/input/input_mms.c +++ b/src/input/input_mms.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_mms.c,v 1.29 2002/12/21 12:56:47 miguelfreitas Exp $ + * $Id: input_mms.c,v 1.30 2002/12/27 16:47:10 miguelfreitas Exp $ * * mms input plugin based on work from major mms */ @@ -49,8 +49,6 @@ #define LOG */ -extern int errno; - #if !defined(NDELAY) && defined(O_NDELAY) #define FNDELAY O_NDELAY #endif diff --git a/src/input/input_net.c b/src/input/input_net.c index e4e9bee0f..7e37b625a 100644 --- a/src/input/input_net.c +++ b/src/input/input_net.c @@ -20,7 +20,7 @@ * Read from a tcp network stream over a lan (put a tweaked mp1e encoder the * other end and you can watch tv anywhere in the house ..) * - * $Id: input_net.c,v 1.40 2002/12/21 13:45:57 esnel Exp $ + * $Id: input_net.c,v 1.41 2002/12/27 16:47:11 miguelfreitas Exp $ * * how to set up mp1e for use with this plugin: * @@ -58,8 +58,6 @@ #include "input_plugin.h" #include "net_buf_ctrl.h" -extern int errno; - #ifdef __GNUC__ #define LOG_MSG(xine, message, args...) { \ xine_log(xine, XINE_LOG_MSG, message, ##args); \ diff --git a/src/input/input_pnm.c b/src/input/input_pnm.c index cfc73fd2d..61aca7eba 100644 --- a/src/input/input_pnm.c +++ b/src/input/input_pnm.c @@ -49,8 +49,6 @@ #define BUFSIZE 1025 -extern int errno; - #if !defined(NDELAY) && defined(O_NDELAY) #define FNDELAY O_NDELAY #endif diff --git a/src/input/input_rtp.c b/src/input/input_rtp.c index 933aa5029..5f2845f41 100644 --- a/src/input/input_rtp.c +++ b/src/input/input_rtp.c @@ -84,8 +84,6 @@ #include "xineutils.h" #include "input_plugin.h" -extern int errno; - #ifdef __GNUC__ #define LOG_MSG_STDERR(xine, message, args...) { \ xine_log(xine, XINE_LOG_MSG, message, ##args); \ diff --git a/src/input/input_rtsp.c b/src/input/input_rtsp.c index 7fd5cf4e7..cf5ecab57 100644 --- a/src/input/input_rtsp.c +++ b/src/input/input_rtsp.c @@ -49,8 +49,6 @@ #define BUFSIZE 1025 -extern int errno; - #if !defined(NDELAY) && defined(O_NDELAY) #define FNDELAY O_NDELAY #endif diff --git a/src/input/input_stdin_fifo.c b/src/input/input_stdin_fifo.c index a0809f3e1..08eeffd2a 100644 --- a/src/input/input_stdin_fifo.c +++ b/src/input/input_stdin_fifo.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_stdin_fifo.c,v 1.39 2002/12/21 12:56:47 miguelfreitas Exp $ + * $Id: input_stdin_fifo.c,v 1.40 2002/12/27 16:47:11 miguelfreitas Exp $ */ #ifdef HAVE_CONFIG_H @@ -46,8 +46,6 @@ #define DEFAULT_LOW_WATER_MARK 1 #define DEFAULT_HIGH_WATER_MARK 5 -extern int errno; - typedef struct { input_plugin_t input_plugin; diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c index 28321beae..ec1768053 100644 --- a/src/input/input_vcd.c +++ b/src/input/input_vcd.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_vcd.c,v 1.61 2002/12/21 16:11:23 rockyb Exp $ + * $Id: input_vcd.c,v 1.62 2002/12/27 16:47:11 miguelfreitas Exp $ * */ @@ -51,8 +51,6 @@ #include "xineutils.h" #include "input_plugin.h" -extern int errno; - #if defined(__sun) #define CDROM "/vol/dev/aliases/cdrom0" #else diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index c6e8bcf98..ecbb4bb3d 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: load_plugins.c,v 1.125 2002/12/23 17:15:00 guenter Exp $ + * $Id: load_plugins.c,v 1.126 2002/12/27 16:47:11 miguelfreitas Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -55,8 +55,6 @@ #define LOG */ -extern int errno; - static char *plugin_name; /* new code, comment this in case of trouble */ |