mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-08 11:02:24 +01:00
Add missing prototypes to functions
Warned-by: gcc
This commit is contained in:
parent
4f68a88f55
commit
04a8fb2469
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: explicit_bzero.c,v 1.3 2014/06/21 02:34:26 matthew Exp $ */
|
||||
/* $OpenBSD: explicit_bzero.c,v 1.4 2015/08/31 02:53:57 guenther Exp $ */
|
||||
/*
|
||||
* Public domain.
|
||||
* Written by Matthew Dempsky.
|
||||
@ -6,6 +6,9 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
__attribute__((__weak__)) void
|
||||
__explicit_bzero_hook(void *, size_t);
|
||||
|
||||
__attribute__((__weak__)) void
|
||||
__explicit_bzero_hook(void *buf, size_t len)
|
||||
{
|
||||
|
@ -222,6 +222,10 @@ setproctitle_init(int argc, char *argv[], char *envp[])
|
||||
#define SPT_MAXTITLE 255
|
||||
#endif
|
||||
|
||||
__printflike(1, 2)
|
||||
void
|
||||
setproctitle_impl(const char *fmt, ...);
|
||||
|
||||
void
|
||||
setproctitle_impl(const char *fmt, ...)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user