From fd07b3628d133c9b9c57214032253b080114b9ac Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sat, 8 Oct 2022 15:44:22 +0300 Subject: [PATCH] kinit: mark execpath_avoid_loops() function as static Signed-off-by: Ivailo Monev --- kinit/kinit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kinit/kinit.cpp b/kinit/kinit.cpp index 24e94ad2..c50d5533 100644 --- a/kinit/kinit.cpp +++ b/kinit/kinit.cpp @@ -366,7 +366,7 @@ static void complete_startup_info( KStartupInfoId& id, pid_t pid ) } #endif -QByteArray execpath_avoid_loops( const QByteArray& exec, int envc, const char* envs, bool avoid_loops ) +static QByteArray execpath_avoid_loops( const QByteArray& exec, int envc, const char* envs, bool avoid_loops ) { QStringList paths; static const QChar pathSep = QChar::fromLatin1(':');