Skip to content

Commit b53e37c

Browse files
committed
[UPSTREAM] Add static to two inline functions
Otherwise we get a linker error with the latest LLVM merge.
1 parent d55d954 commit b53e37c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sys/net/routing/rtsock_common.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ iface_open(char *ifname)
204204
* Sets primary IPv4 addr.
205205
* Returns 0 on success.
206206
*/
207-
inline int
207+
static inline int
208208
iface_setup_addr(char *ifname, char *addr, int plen)
209209
{
210210
char cmd[512];
@@ -225,7 +225,7 @@ iface_setup_addr(char *ifname, char *addr, int plen)
225225
* Removes primary IPv4 prefix.
226226
* Returns 0 on success.
227227
*/
228-
inline int
228+
static inline int
229229
iface_delete_addr(char *ifname, char *addr)
230230
{
231231
char cmd[512];

0 commit comments

Comments
 (0)