mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 11:17:37 +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.
|
* Public domain.
|
||||||
* Written by Matthew Dempsky.
|
* Written by Matthew Dempsky.
|
||||||
@ -6,6 +6,9 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
__attribute__((__weak__)) void
|
||||||
|
__explicit_bzero_hook(void *, size_t);
|
||||||
|
|
||||||
__attribute__((__weak__)) void
|
__attribute__((__weak__)) void
|
||||||
__explicit_bzero_hook(void *buf, size_t len)
|
__explicit_bzero_hook(void *buf, size_t len)
|
||||||
{
|
{
|
||||||
|
@ -222,6 +222,10 @@ setproctitle_init(int argc, char *argv[], char *envp[])
|
|||||||
#define SPT_MAXTITLE 255
|
#define SPT_MAXTITLE 255
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
__printflike(1, 2)
|
||||||
|
void
|
||||||
|
setproctitle_impl(const char *fmt, ...);
|
||||||
|
|
||||||
void
|
void
|
||||||
setproctitle_impl(const char *fmt, ...)
|
setproctitle_impl(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user