From 8b9c02139fa44ca5ec3719f2386be4eac50cfa23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Poo-Caama=C3=B1o?= Date: Wed, 11 Jun 2025 05:04:43 -0400 Subject: [PATCH] libsysprof-capture: Fix -Wmissing-prototypes warning --- src/libsysprof-capture/sysprof-capture-util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libsysprof-capture/sysprof-capture-util.c b/src/libsysprof-capture/sysprof-capture-util.c index acb71acf..3d02747c 100644 --- a/src/libsysprof-capture/sysprof-capture-util.c +++ b/src/libsysprof-capture/sysprof-capture-util.c @@ -74,6 +74,7 @@ static void *_sysprof_io_sync_lock = SRWLOCK_INIT; #endif +#ifndef __linux__ size_t (_sysprof_getpagesize) (void) { @@ -234,6 +235,7 @@ ssize_t errno = 0; return total; } +#endif /* #ifndef __linux__ */ size_t (_sysprof_strlcpy) (char *dest,