From: Simon Marchi Date: Tue, 19 Nov 2019 17:24:04 +0000 (-0500) Subject: python-plugin-provider: make python_state static X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=91ec031c5ca69c9a579ad94d285b81ff73ecac69 python-plugin-provider: make python_state static This variable is not used outside the file, it should not be exposed. Change-Id: Icb1ed68485d9205149a2adf95051f4694cbc8cc0 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/2408 Tested-by: jenkins --- diff --git a/src/python-plugin-provider/python-plugin-provider.c b/src/python-plugin-provider/python-plugin-provider.c index eb736399..71bedfc3 100644 --- a/src/python-plugin-provider/python-plugin-provider.c +++ b/src/python-plugin-provider/python-plugin-provider.c @@ -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,