mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-24 19:02:06 +00:00
upstream commit
expand __unused to full __attribute__ for better portability
This commit is contained in:
parent
2fab9b0f87
commit
3f7f5e6c5d
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: fuzz.c,v 1.7 2015/01/18 19:52:44 djm Exp $ */
|
||||
/* $OpenBSD: fuzz.c,v 1.8 2015/03/03 20:42:49 djm Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2011 Damien Miller <djm@mindrot.org>
|
||||
*
|
||||
@ -200,7 +200,7 @@ fuzz_dump(struct fuzz *fuzz)
|
||||
static struct fuzz *last_fuzz;
|
||||
|
||||
static void
|
||||
siginfo(int unused __unused)
|
||||
siginfo(int unused __attribute__((__unused__)))
|
||||
{
|
||||
char buf[256];
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: test_helper.c,v 1.5 2015/02/16 22:20:50 djm Exp $ */
|
||||
/* $OpenBSD: test_helper.c,v 1.6 2015/03/03 20:42:49 djm Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2011 Damien Miller <djm@mindrot.org>
|
||||
*
|
||||
@ -193,7 +193,7 @@ test_info(char *s, size_t len)
|
||||
|
||||
#ifdef SIGINFO
|
||||
static void
|
||||
siginfo(int unused __unused)
|
||||
siginfo(int unused __attribute__((__unused__)))
|
||||
{
|
||||
char buf[256];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user