Merge branch 'wip/gpoo/fix-missing-prototype-warning' into 'master'

libsysprof-capture: Fix -Wmissing-prototypes warning

See merge request GNOME/sysprof!142
This commit is contained in:
Christian Hergert
2025-06-12 12:17:46 -07:00

View File

@ -74,6 +74,7 @@
static void *_sysprof_io_sync_lock = SRWLOCK_INIT; static void *_sysprof_io_sync_lock = SRWLOCK_INIT;
#endif #endif
#ifndef __linux__
size_t size_t
(_sysprof_getpagesize) (void) (_sysprof_getpagesize) (void)
{ {
@ -234,6 +235,7 @@ ssize_t
errno = 0; errno = 0;
return total; return total;
} }
#endif /* #ifndef __linux__ */
size_t size_t
(_sysprof_strlcpy) (char *dest, (_sysprof_strlcpy) (char *dest,