Browse Source

build: remove internal/protected build attribute checks

They're not necessary, and not always supported. We only need to know about
hidden and default.
pull/145/head
Cory Fields 10 years ago
parent
commit
ee64c53c1f
  1. 2
      build-aux/m4/ax_gcc_func_attribute.m4

2
build-aux/m4/ax_gcc_func_attribute.m4

@ -180,8 +180,6 @@ AC_DEFUN([AX_GCC_FUNC_ATTRIBUTE], [
[visibility], [
int foo_def( void ) __attribute__(($1("default")));
int foo_hid( void ) __attribute__(($1("hidden")));
int foo_int( void ) __attribute__(($1("internal")));
int foo_pro( void ) __attribute__(($1("protected")));
],
[warning], [
int foo( void ) __attribute__(($1("")));

Loading…
Cancel
Save