Skip to content

Commit

Permalink
build: remove internal/protected build attribute checks
Browse files Browse the repository at this point in the history
They're not necessary, and not always supported. We only need to know about
hidden and default.
  • Loading branch information
theuni committed Nov 20, 2014
1 parent f36a40f commit ee64c53
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build-aux/m4/ax_gcc_func_attribute.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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("")));
Expand Down

0 comments on commit ee64c53

Please sign in to comment.