From faea4d877b5ad61765ad98cd5d6bbfc6d704ca61 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Tue, 22 Sep 2020 12:04:51 +0100
Subject: [PATCH] Move unexported function _srt_check_not_setuid to internal
 header

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

diff --git a/steam-runtime-tools/utils-internal.h b/steam-runtime-tools/utils-internal.h
index b56a2d99b..09d413543 100644
--- a/steam-runtime-tools/utils-internal.h
+++ b/steam-runtime-tools/utils-internal.h
@@ -38,6 +38,8 @@ typedef enum
   SRT_HELPER_FLAGS_NONE = 0
 } SrtHelperFlags;
 
+G_GNUC_INTERNAL gboolean _srt_check_not_setuid (void);
+
 G_GNUC_INTERNAL GPtrArray *_srt_get_helper (const char *helpers_path,
                                             const char *multiarch,
                                             const char *base,
diff --git a/steam-runtime-tools/utils.h b/steam-runtime-tools/utils.h
index 243a249c3..16b273a96 100644
--- a/steam-runtime-tools/utils.h
+++ b/steam-runtime-tools/utils.h
@@ -46,6 +46,4 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (SrtObjectList, _srt_free_object_list)
 
 #endif
 
-G_GNUC_INTERNAL gboolean _srt_check_not_setuid (void);
-
 gboolean _srt_rm_rf (const char *directory);
-- 
GitLab