[sysprof] binfile: fix warning on non-Linux platforms
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] binfile: fix warning on non-Linux platforms
- Date: Mon, 16 Nov 2020 22:13:44 +0000 (UTC)
commit 6e4413d3aa8fac2d2d68877ad6610f08ce4d81bc
Author: Christian Hergert <chergert redhat com>
Date: Mon Nov 16 14:17:09 2020 -0800
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 36e7707..2f10873 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,
...)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]