validate: hide some private symbols

This commit is contained in:
Tim-Philipp Müller 2017-08-12 12:04:42 +01:00
parent 8393a3d5ca
commit 8b91fef492
4 changed files with 6 additions and 9 deletions

View file

@ -27,17 +27,17 @@
#include "gst-validate-monitor.h"
#include <json-glib/json-glib.h>
GST_DEBUG_CATEGORY_EXTERN (gstvalidate_debug);
extern G_GNUC_INTERNAL GstDebugCategory *gstvalidate_debug;
#define GST_CAT_DEFAULT gstvalidate_debug
extern GRegex *newline_regex;
extern GstClockTime _priv_start_time;
extern G_GNUC_INTERNAL GRegex *newline_regex;
extern G_GNUC_INTERNAL GstClockTime _priv_start_time;
/* If an action type is 1 (TRUE) we also consider it is a config to keep backward compatibility */
#define IS_CONFIG_ACTION_TYPE(type) (((type) & GST_VALIDATE_ACTION_TYPE_CONFIG) || ((type) == TRUE))
extern GType _gst_validate_action_type_type;
extern G_GNUC_INTERNAL GType _gst_validate_action_type_type;
void init_scenarios (void);

View file

@ -49,7 +49,7 @@ GSocketClient *socket_client = NULL;
GSocketConnection *server_connection = NULL;
GOutputStream *server_ostream = NULL;
GType _gst_validate_report_type = 0;
static GType _gst_validate_report_type = 0;
static JsonNode *
gst_validate_report_serialize (GstValidateReport * report)

View file

@ -223,7 +223,7 @@ G_DEFINE_TYPE_WITH_CODE (GstValidateScenario, gst_validate_scenario,
_reporter_iface_init));
/* GstValidateAction implementation */
GType _gst_validate_action_type = 0;
static GType _gst_validate_action_type = 0;
struct _GstValidateActionPrivate
{

View file

@ -1,7 +1,4 @@
EXPORTS
_gst_validate_action_type DATA
_gst_validate_action_type_type DATA
_gst_validate_report_type DATA
gst_validate_action_get_clocktime
gst_validate_action_get_scenario
gst_validate_action_get_type