Add missing prototypes to functions

Warned-by: gcc
This commit is contained in:
Guillem Jover 2021-03-02 00:48:02 +01:00
parent 4f68a88f55
commit 04a8fb2469
2 changed files with 8 additions and 1 deletions

View File

@ -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)
{

View File

@ -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, ...)
{