forked from Mirror/frr
*: fix for -Wstrict-prototypes
Just some "void" missing between empty braces. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
c17662db53
commit
9fb83ab17d
|
@ -1166,7 +1166,7 @@ ldpTrapSessionDown(struct nbr * nbr)
|
|||
ldpTrapSession(nbr, LDPSESSIONDOWN);
|
||||
}
|
||||
|
||||
static int ldp_snmp_agentx_enabled()
|
||||
static int ldp_snmp_agentx_enabled(void)
|
||||
{
|
||||
main_imsg_compose_both(IMSG_AGENTX_ENABLED, NULL, 0);
|
||||
|
||||
|
|
|
@ -206,11 +206,10 @@ static char *posixly_correct;
|
|||
whose names are inconsistent. */
|
||||
|
||||
#ifndef getenv
|
||||
extern char *getenv();
|
||||
extern char *getenv(const char *);
|
||||
#endif
|
||||
|
||||
static char *my_index(str, chr) const char *str;
|
||||
int chr;
|
||||
static char *my_index(const char *str, int chr)
|
||||
{
|
||||
while (*str) {
|
||||
if (*str == chr)
|
||||
|
|
|
@ -305,7 +305,7 @@ static int sr_local_block_init(uint32_t lower_bound, uint32_t upper_bound)
|
|||
* Remove Segment Routing Local Block.
|
||||
*
|
||||
*/
|
||||
static void sr_local_block_delete()
|
||||
static void sr_local_block_delete(void)
|
||||
{
|
||||
struct sr_local_block *srlb = &OspfSR.srlb;
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ static int pcep_cli_pcep_pce_config_write(struct vty *vty);
|
|||
/* Internal Util Function declarations */
|
||||
static struct pce_opts_cli *pcep_cli_find_pce(const char *pce_name);
|
||||
static bool pcep_cli_add_pce(struct pce_opts_cli *pce_opts_cli);
|
||||
static struct pce_opts_cli *pcep_cli_create_pce_opts();
|
||||
static struct pce_opts_cli *pcep_cli_create_pce_opts(const char *name);
|
||||
static void pcep_cli_delete_pce(const char *pce_name);
|
||||
static void
|
||||
pcep_cli_merge_pcep_pce_config_options(struct pce_opts_cli *pce_opts_cli);
|
||||
|
|
Loading…
Reference in a new issue