Fix most "undocumented symbol" warnings
authorMiloslav Trmač <mitr@redhat.com>
Wed, 10 Apr 2013 00:46:38 +0000 (02:46 +0200)
committerMiloslav Trmač <mitr@redhat.com>
Mon, 15 Apr 2013 21:22:25 +0000 (23:22 +0200)
- 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
docs/polkit/polkit-1-sections.txt

index 13ca938..fcfa92a 100644 (file)
@@ -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
index 41b37e3..47c7835 100644 (file)
@@ -355,11 +355,11 @@ polkit_temporary_authorization_get_time_obtained
 polkit_temporary_authorization_get_time_expires
 <SUBSECTION Standard>
 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
 </SECTION>