From 1df991e3bfc222dfe16fcb197e97d4738450c8b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Wed, 10 Apr 2013 02:46:38 +0200 Subject: [PATCH 3/9] Fix most "undocumented symbol" warnings - Mark private header files as private. - Fix obvious typos in the section file. https://bugs.freedesktop.org/show_bug.cgi?id=63573 --- docs/polkit/Makefile.am | 4 +++- docs/polkit/polkit-1-sections.txt | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/polkit/Makefile.am b/docs/polkit/Makefile.am index 13ca938..fcfa92a 100644 --- a/docs/polkit/Makefile.am +++ b/docs/polkit/Makefile.am @@ -10,7 +10,7 @@ DOC_MODULE=polkit-1 DOC_MAIN_SGML_FILE=polkit-1-docs.xml # Extra options to supply to gtkdoc-scan -SCAN_OPTIONS=--ignore-headers=config.h +SCAN_OPTIONS= # Directories containing the source code. # gtk-doc will search all .c and .h files beneath these paths @@ -24,6 +24,8 @@ CFILE_GLOB=$(top_srcdir)/src/polkit*/*.c # Headers to ignore IGNORE_HFILES= \ + polkitprivate.h \ + polkitagenthelperprivate.h \ $(NULL) # CFLAGS and LDFLAGS for compiling scan program. Only needed diff --git a/docs/polkit/polkit-1-sections.txt b/docs/polkit/polkit-1-sections.txt index 41b37e3..47c7835 100644 --- a/docs/polkit/polkit-1-sections.txt +++ b/docs/polkit/polkit-1-sections.txt @@ -355,11 +355,11 @@ polkit_temporary_authorization_get_time_obtained polkit_temporary_authorization_get_time_expires POLKIT_TEMPORARY_AUTHORIZATION -POLKIT_TEMPORARY_IS_AUTHORIZATION -POLKIT_TEMPORARY_TYPE_AUTHORIZATION +POLKIT_IS_TEMPORARY_AUTHORIZATION +POLKIT_TYPE_TEMPORARY_AUTHORIZATION polkit_temporary_authorization_get_type POLKIT_TEMPORARY_AUTHORIZATION_CLASS -POLKIT_TEMPORARY_IS_AUTHORIZATION_CLASS +POLKIT_IS_TEMPORARY_AUTHORIZATION_CLASS POLKIT_TEMPORARY_AUTHORIZATION_GET_CLASS -- 1.8.1.4