[farsight2/master] Move the extern to the header file where it belongs
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:21:59 PST 2008
---
transmitters/rawudp/fs-rawudp-stream-transmitter.c | 1 -
transmitters/rawudp/fs-rawudp-transmitter.h | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/transmitters/rawudp/fs-rawudp-stream-transmitter.c b/transmitters/rawudp/fs-rawudp-stream-transmitter.c
index 526ba83..f122994 100644
--- a/transmitters/rawudp/fs-rawudp-stream-transmitter.c
+++ b/transmitters/rawudp/fs-rawudp-stream-transmitter.c
@@ -88,7 +88,6 @@
#include <netdb.h>
#include <unistd.h>
-GST_DEBUG_CATEGORY_EXTERN (fs_rawudp_transmitter_debug);
#define GST_CAT_DEFAULT fs_rawudp_transmitter_debug
/* Signals */
diff --git a/transmitters/rawudp/fs-rawudp-transmitter.h b/transmitters/rawudp/fs-rawudp-transmitter.h
index 20f9daa..6cb1bab 100644
--- a/transmitters/rawudp/fs-rawudp-transmitter.h
+++ b/transmitters/rawudp/fs-rawudp-transmitter.h
@@ -88,7 +88,7 @@ typedef struct _UdpPort UdpPort;
GType fs_rawudp_transmitter_get_type (void);
-
+GST_DEBUG_CATEGORY_EXTERN (fs_rawudp_transmitter_debug);
UdpPort *fs_rawudp_transmitter_get_udpport (FsRawUdpTransmitter *trans,
guint component_id,
--
1.5.6.5
More information about the farsight-commits
mailing list