Skip to content

Commit 2a88e27

Browse files
authored
Merge pull request #2850 from aeolio/escapeVelocity
Fix linker error when compiling w/o optimization
2 parents fb6b19f + 663d55e commit 2a88e27

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/tools/dhcp-discover.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ int get_hardware_address(const int sock, const char *iname, unsigned char *mac);
2020
// Global lock used by all threads
2121
extern pthread_mutex_t dhcp_lock;
2222

23-
inline void start_lock(void)
23+
static inline void start_lock(void)
2424
{
2525
pthread_mutex_lock(&dhcp_lock);
2626
}
2727

28-
inline void end_lock(void)
28+
static inline void end_lock(void)
2929
{
3030
pthread_mutex_unlock(&dhcp_lock);
3131
}

0 commit comments

Comments
 (0)