From 1a12e752e46db01b9b6ff7b8b6928a4c58a6bf4b Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 19 Jan 2004 18:23:19 +0000 Subject: [PATCH] privatise Original commit message from CVS: privatise --- ChangeLog | 6 ++++++ gst/gstelement.c | 4 ++-- gst/gstelement.h | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e543022038..70f23250a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-01-19 Thomas Vander Stichele + + * gst/gstelement.c: (_gst_element_error_printf): + * gst/gstelement.h: + privatise function + 2004-01-19 Thomas Vander Stichele * docs/random/error: diff --git a/gst/gstelement.c b/gst/gstelement.c index 12d25cd3f1..a06bd4ffc1 100644 --- a/gst/gstelement.c +++ b/gst/gstelement.c @@ -2350,7 +2350,7 @@ gst_element_convert (GstElement *element, } /** - * gst_element_error_printf: + * _gst_element_error_printf: * @format: the printf-like format to use, or NULL * * This function is only used internally by the #gst_element_error macro. @@ -2358,7 +2358,7 @@ gst_element_convert (GstElement *element, * Returns: a newly allocated string, or NULL if the format was NULL or "" */ gchar * -gst_element_error_printf (const gchar *format, ...) +_gst_element_error_printf (const gchar *format, ...) { va_list args; gchar *buffer; diff --git a/gst/gstelement.h b/gst/gstelement.h index 3d1626bdd3..7caadb8959 100644 --- a/gst/gstelement.h +++ b/gst/gstelement.h @@ -142,8 +142,8 @@ typedef enum { #define gst_element_error(el, domain, code, message, debug) G_STMT_START { \ gst_element_error_extended (GST_ELEMENT(el), \ GST_ ## domain ## _ERROR, GST_ ## domain ## _ERROR_ ## code, \ - gst_element_error_printf message, \ - gst_element_error_printf debug, \ + _gst_element_error_printf message, \ + _gst_element_error_printf debug, \ __FILE__, GST_FUNCTION, __LINE__); } G_STMT_END typedef struct _GstElementFactory GstElementFactory;