[fprint] [PATCH 2/8] build: define new visibility class for internal API.
Kunal Gangakhedkar
kunal.gangakhedkar at gmail.com
Mon Oct 8 07:39:26 PDT 2012
Define a visibility class for internal API as API_INTERNAL.
Signed-off-by: Kunal Gangakhedkar <kunal.gangakhedkar at gmail.com>
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index a2bd3c2..69f0a86 100644
--- a/configure.ac
+++ b/configure.ac
@@ -236,6 +236,7 @@ AC_COMPILE_IFELSE(AC_LANG_PROGRAM([]), inline_cflags="-fgnu89-inline", inline_cf
CFLAGS="$saved_cflags"
AC_DEFINE([API_EXPORTED], [__attribute__((visibility("default")))], [Default visibility])
+AC_DEFINE([API_INTERNAL], [__attribute__((visibility("protected")))], [Internal API visibility])
AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow"
AC_SUBST(AM_CFLAGS)
--
1.7.9.5
More information about the fprint
mailing list