python-plugin-provider: make python_state static
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 19 Nov 2019 17:24:04 +0000 (12:24 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Nov 2019 19:24:17 +0000 (14:24 -0500)
This variable is not used outside the file, it should not be exposed.

Change-Id: Icb1ed68485d9205149a2adf95051f4694cbc8cc0
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2408
Tested-by: jenkins <jenkins@lttng.org>
src/python-plugin-provider/python-plugin-provider.c

index eb736399abdbc03edfa0086993434c1aced78538..71bedfc389bbaf9f8e34a1db851e13500712e92c 100644 (file)
@@ -49,7 +49,7 @@
 #define PYTHON_PLUGIN_FILE_EXT         ".py"
 #define PYTHON_PLUGIN_FILE_EXT_LEN     (sizeof(PYTHON_PLUGIN_FILE_EXT) - 1)
 
-enum python_state {
+static enum python_state {
        /* init_python() not called yet */
        PYTHON_STATE_NOT_INITED,
 
This page took 0.025526 seconds and 4 git commands to generate.