From d941e198c198db9f5afc68eebc0926948c15eda8 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 19 Nov 2019 12:24:04 -0500 Subject: [PATCH] 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 --- src/python-plugin-provider/python-plugin-provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.34.1