From cb41a76af4f4b35c497e4d7f098289021f73661c Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Mon, 4 Nov 2019 19:35:08 +0000
Subject: [PATCH] _srt_get_helpers_path: Demote from internal to static

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 steam-runtime-tools/utils-internal.h | 1 -
 steam-runtime-tools/utils.c          | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/steam-runtime-tools/utils-internal.h b/steam-runtime-tools/utils-internal.h
index 19c3b0f49..8f6b15e2d 100644
--- a/steam-runtime-tools/utils-internal.h
+++ b/steam-runtime-tools/utils-internal.h
@@ -41,5 +41,4 @@ G_GNUC_INTERNAL GPtrArray *_srt_get_helper (const char *helpers_path,
                                             const char *base,
                                             SrtHelperFlags flags,
                                             GError **error);
-G_GNUC_INTERNAL const char *_srt_get_helpers_path (GError **error);
 gchar *_srt_filter_gameoverlayrenderer (const gchar *input);
diff --git a/steam-runtime-tools/utils.c b/steam-runtime-tools/utils.c
index 322619cf1..5b2cbca9e 100644
--- a/steam-runtime-tools/utils.c
+++ b/steam-runtime-tools/utils.c
@@ -148,7 +148,7 @@ _srt_check_not_setuid (void)
 
 static gchar *global_helpers_path = NULL;
 
-G_GNUC_INTERNAL const char *
+static const char *
 _srt_get_helpers_path (GError **error)
 {
   const char *path;
-- 
GitLab