summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2011-02-20 16:37:22 +0100
committerSimon Josefsson <simon@josefsson.org>2011-02-20 16:37:22 +0100
commit04458ba914735a38a059fb6c7e9ec426441beb21 (patch)
treea5fe2ebcda57802d71529468b76dfcf6800efe55
parentaee017b8888c904c42a303586f05a193f778cedb (diff)
downloadgnutls-04458ba914735a38a059fb6c7e9ec426441beb21.tar.gz
Fix syntax-check warnings.
-rw-r--r--doc/Makefile.am21
-rw-r--r--doc/cha-programs.texi1
-rw-r--r--lib/gnutls_privkey.c1
-rw-r--r--lib/includes/gnutls/compat.h2
-rw-r--r--lib/includes/gnutls/x509.h1
-rw-r--r--lib/openpgp/pgp.c1
6 files changed, 11 insertions, 16 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 4aa38b6e1a..31af43436a 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -20,9 +20,8 @@
# along with this file; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-EXTRA_DIST = TODO certtool.cfg gnutls.ps gnutls.pdf \
- gnutls.html doxygen/Doxyfile.in doxygen/Doxyfile.orig \
- texinfo.css
+EXTRA_DIST = TODO certtool.cfg gnutls.ps gnutls.pdf gnutls.html \
+ doxygen/Doxyfile.in doxygen/Doxyfile.orig texinfo.css
SUBDIRS = examples cyclo scripts manpages credentials
if ENABLE_GTK_DOC
@@ -30,19 +29,19 @@ SUBDIRS += reference
endif
info_TEXINFOS = gnutls.texi
-gnutls_TEXINFOS = gnutls.texi fdl-1.3.texi lgpl-2.1.texi gpl-3.0.texi \
- cha-auth.texi cha-bib.texi cha-cert-auth.texi cha-ciphersuites.texi \
- cha-copying.texi cha-functions.texi cha-gtls-app.texi \
- cha-internals.texi cha-intro-tls.texi cha-library.texi \
- cha-preface.texi cha-programs.texi cha-tls-app.texi
+gnutls_TEXINFOS = gnutls.texi fdl-1.3.texi lgpl-2.1.texi gpl-3.0.texi \
+ cha-auth.texi cha-bib.texi cha-cert-auth.texi \
+ cha-ciphersuites.texi cha-copying.texi cha-functions.texi \
+ cha-gtls-app.texi cha-internals.texi cha-intro-tls.texi \
+ cha-library.texi cha-preface.texi cha-programs.texi \
+ cha-tls-app.texi
# Examples.
gnutls_TEXINFOS += examples/ex-client1.c examples/ex-client2.c \
examples/ex-session-info.c examples/ex-verify.c \
examples/ex-cert-select.c examples/ex-client-resume.c \
- examples/ex-client-srp.c \
- examples/ex-rfc2818.c examples/ex-serv1.c \
- examples/ex-serv-anon.c \
+ examples/ex-client-srp.c examples/ex-rfc2818.c \
+ examples/ex-serv1.c examples/ex-serv-anon.c \
examples/ex-serv-pgp.c examples/ex-serv-srp.c \
examples/ex-alert.c examples/ex-x509-info.c examples/ex-crq.c \
examples/ex-pkcs12.c
diff --git a/doc/cha-programs.texi b/doc/cha-programs.texi
index db2612a41c..e92624c5ee 100644
--- a/doc/cha-programs.texi
+++ b/doc/cha-programs.texi
@@ -943,4 +943,3 @@ $ p11tool --login --write pkcs11:(TOKEN URL) --load-certificate (certificate fil
Note that typically PKCS #11 private key objects are not allowed
to be extracted from the token.
-
diff --git a/lib/gnutls_privkey.c b/lib/gnutls_privkey.c
index 083ce11642..6b930d7fe7 100644
--- a/lib/gnutls_privkey.c
+++ b/lib/gnutls_privkey.c
@@ -600,4 +600,3 @@ gnutls_privkey_decrypt_data (gnutls_privkey_t key,
return GNUTLS_E_INVALID_REQUEST;
}
}
-
diff --git a/lib/includes/gnutls/compat.h b/lib/includes/gnutls/compat.h
index da95af890d..6c3b511efa 100644
--- a/lib/includes/gnutls/compat.h
+++ b/lib/includes/gnutls/compat.h
@@ -7,7 +7,7 @@
#define _GNUTLS_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
-#if !defined(GNUTLS_INTERNAL_BUILD)
+#if !defined GNUTLS_INTERNAL_BUILD
#if _GNUTLS_GCC_VERSION >= 30100
#define _GNUTLS_GCC_ATTR_DEPRECATED __attribute__ ((__deprecated__))
#endif
diff --git a/lib/includes/gnutls/x509.h b/lib/includes/gnutls/x509.h
index a85d9e5cc3..b40cae1408 100644
--- a/lib/includes/gnutls/x509.h
+++ b/lib/includes/gnutls/x509.h
@@ -819,4 +819,3 @@ extern "C"
#endif
#endif /* GNUTLS_X509_H */
-
diff --git a/lib/openpgp/pgp.c b/lib/openpgp/pgp.c
index 01f7a709e1..efef9d2eff 100644
--- a/lib/openpgp/pgp.c
+++ b/lib/openpgp/pgp.c
@@ -1687,4 +1687,3 @@ gnutls_openpgp_crt_get_auth_subkey (gnutls_openpgp_crt_t crt,
else
return GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE;
}
-