From 04d444782c3cb5c2ae2a62f7e90c792dbbc7cd89 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 10 Jun 2016 11:24:54 -0400 Subject: [PATCH] Make variables static Otherwise, they cause unexpected linking conflicts. --- app/flatpak-builtins-document-export.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/flatpak-builtins-document-export.c b/app/flatpak-builtins-document-export.c index 673a7e0f..e06d11a7 100644 --- a/app/flatpak-builtins-document-export.c +++ b/app/flatpak-builtins-document-export.c @@ -36,13 +36,13 @@ #include "flatpak-utils.h" #include "flatpak-run.h" -gboolean opt_unique = FALSE; -gboolean opt_allow_write = FALSE; -gboolean opt_allow_delete = FALSE; -gboolean opt_transient = FALSE; -gboolean opt_noexist = FALSE; -gboolean opt_allow_grant_permissions = FALSE; -char **opt_apps = NULL; +static gboolean opt_unique = FALSE; +static gboolean opt_allow_write = FALSE; +static gboolean opt_allow_delete = FALSE; +static gboolean opt_transient = FALSE; +static gboolean opt_noexist = FALSE; +static gboolean opt_allow_grant_permissions = FALSE; +static char **opt_apps = NULL; static GOptionEntry options[] = { { "unique", 'u', 0, G_OPTION_ARG_NONE, &opt_unique, "Create a unique document reference", NULL },