mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-capture: Fix -Wmissing-prototypes warning
This commit is contained in:
@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user