From b34a33255f56bbd2317c26da12d702796d67ed50 Mon Sep 17 00:00:00 2001 From: Geo Van Osterom Date: Thu, 22 Oct 2015 00:12:42 -0400 Subject: [PATCH] Fix gcc 5 compile errors --- src/net.c | 2 +- src/tclhash.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net.c b/src/net.c index a1937de..c369fda 100644 --- a/src/net.c +++ b/src/net.c @@ -560,7 +560,7 @@ int open_address_listen(sockname_t *addr) /* Returns a socket number for a listening socket that will accept any * connection -- port # is returned in port */ -inline int open_listen(int *port) +extern inline int open_listen(int *port) { int sock; sockname_t name; diff --git a/src/tclhash.c b/src/tclhash.c index 9729acb..22c3d05 100644 --- a/src/tclhash.c +++ b/src/tclhash.c @@ -113,7 +113,7 @@ static inline void tcl_bind_list_delete(tcl_bind_list_t *tl) nfree(tl); } -inline void garbage_collect_tclhash(void) +extern inline void garbage_collect_tclhash(void) { tcl_bind_list_t *tl, *tl_next, *tl_prev; tcl_bind_mask_t *tm, *tm_next, *tm_prev;