Port: replace setenv() by g_setenv()
[babeltrace.git] / tests / lib / test_plugin.c
index 874a11dbcd7843f3c724a76224faf5287cbab440..1fb3c6ddbd1c9d1478586712db0c9984eaefa54f 100644 (file)
@@ -49,8 +49,8 @@ static int check_env_var(const char *name)
 
 static void reset_test_plugin_env_vars(void)
 {
-       setenv("BT_TEST_PLUGIN_INIT_CALLED", "0", 1);
-       setenv("BT_TEST_PLUGIN_EXIT_CALLED", "0", 1);
+       g_setenv("BT_TEST_PLUGIN_INIT_CALLED", "0", 1);
+       g_setenv("BT_TEST_PLUGIN_EXIT_CALLED", "0", 1);
 }
 
 static char *get_test_plugin_path(const char *plugin_dir,
This page took 0.023476 seconds and 4 git commands to generate.