From ee64c53c1fdcadf00138b7e6fdf44a1c433db9f8 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Thu, 6 Nov 2014 22:18:08 -0500 Subject: [PATCH] build: remove internal/protected build attribute checks They're not necessary, and not always supported. We only need to know about hidden and default. --- build-aux/m4/ax_gcc_func_attribute.m4 | 2 -- 1 file changed, 2 deletions(-) diff --git a/build-aux/m4/ax_gcc_func_attribute.m4 b/build-aux/m4/ax_gcc_func_attribute.m4 index de11303e7..275ca63a2 100644 --- a/build-aux/m4/ax_gcc_func_attribute.m4 +++ b/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("")));