From 6e4413d3aa8fac2d2d68877ad6610f08ce4d81bc Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 16 Nov 2020 14:17:09 -0800 Subject: [PATCH] binfile: fix warning on non-Linux platforms --- src/libsysprof/binfile.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/libsysprof/binfile.c b/src/libsysprof/binfile.c index 36e7707c..2f108739 100644 --- a/src/libsysprof/binfile.c +++ b/src/libsysprof/binfile.c @@ -264,12 +264,8 @@ get_debug_binaries (GList *files, return files; } -static char ** -get_lines (const char *format, - ...) - G_GNUC_PRINTF (1, 2); - #ifdef __linux__ +G_GNUC_PRINTF (1, 2) static char ** get_lines (const char *format, ...)