Browse files

Fix visibility support

I definitely fixed this problem already when I ported the macro, so I wonder why
the fix got lost...

config.log says:

conftest.cpp: In function 'void dummyfunc()':
conftest.cpp:13:15: error: no previous declaration for 'void dummyfunc()'

Signed-off-by: Uli Schlachter <>
  • Loading branch information...
psychon committed Sep 24, 2011
1 parent 0acf0de commit c0907f2e5893070a3c6356ae0ba37fb4888a95bd
Showing with 1 addition and 0 deletions.
  1. +1 −0 m4/znc_visibility.m4
@@ -68,6 +68,7 @@ AC_DEFUN([ZNC_VISIBILITY],
extern __attribute__((__visibility__("default"))) int exportedvar;
extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
extern __attribute__((__visibility__("default"))) int exportedfunc (void);
+ void dummyfunc (void);
void dummyfunc (void) {}]],

0 comments on commit c0907f2

Please sign in to comment.