Declare the clock variable as extern in the header file. Fixes compilation of gluon-ebtables-limit-arp with OpenWrt master: multiple definition of `clock'; /gluon/openwrt/tmp/ccuynR0G.o:(.bss+0x230): first defined here Signed-off-by: David Bauer <mail@david-bauer.net>
14 lines
256 B
C
14 lines
256 B
C
/*
|
|
* Copyright (c) 2017 Linus Lüssing <linus.luessing@c0d3.blue>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
* License-Filename: LICENSE
|
|
*/
|
|
|
|
#ifndef _GLUON_ARP_LIMITER_H_
|
|
#define _GLUON_ARP_LIMITER_H_
|
|
|
|
extern int clock;
|
|
|
|
#endif /* _GLUON_ARP_LIMITER_H_ */
|