diff options
author | Damjan Marion <damarion@cisco.com> | 2016-12-19 16:28:36 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2016-12-20 10:23:44 +0000 |
commit | 6a7acc2f9a551011b190e11910d8bfd09d8c74a4 (patch) | |
tree | e3460ba4f3954aa2fd0d2cb7c6f5a4870c970be8 /vlib/vlib/unix/unix.h | |
parent | fc6397307682b9874cd734d2bfcba9f6ef4820a9 (diff) |
Declare variables as external
non-external declarations in header files are generating
multiple empty definitions of the same symbol.
Change-Id: I7f3933404f79d08579468d0052c106731b57507c
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vlib/vlib/unix/unix.h')
-rw-r--r-- | vlib/vlib/unix/unix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vlib/vlib/unix/unix.h b/vlib/vlib/unix/unix.h index 69688a62b76..ea0d417b2b1 100644 --- a/vlib/vlib/unix/unix.h +++ b/vlib/vlib/unix/unix.h @@ -203,7 +203,7 @@ vlib_unix_get_main (void) } /* thread stack array; vec_len = max number of threads */ -u8 **vlib_thread_stacks; +extern u8 **vlib_thread_stacks; /* utils */ |