summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-09-03 16:49:42 +0200
committerSimon Josefsson <simon@josefsson.org>2008-09-03 16:49:42 +0200
commit2ac6ef7894990869f8ed951cf3cc7a15ede00f66 (patch)
tree153c13ad40248103827fda8d89cf01ca6b822681 /doc
parent0b55b360dd690023f3591eaff4a72713b7a6d8d3 (diff)
downloadgnutls-2ac6ef7894990869f8ed951cf3cc7a15ede00f66.tar.gz
Use #ifdef for checking HAVE_CONFIG_H for consistency.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/ex-alert.c2
-rw-r--r--doc/examples/ex-cert-select.c2
-rw-r--r--doc/examples/ex-client-psk.c2
-rw-r--r--doc/examples/ex-client-resume.c2
-rw-r--r--doc/examples/ex-client-srp.c2
-rw-r--r--doc/examples/ex-client-tlsia.c2
-rw-r--r--doc/examples/ex-client1.c2
-rw-r--r--doc/examples/ex-client2.c2
-rw-r--r--doc/examples/ex-crq.c2
-rw-r--r--doc/examples/ex-cxx.cpp2
-rw-r--r--doc/examples/ex-pkcs12.c2
-rw-r--r--doc/examples/ex-rfc2818.c2
-rw-r--r--doc/examples/ex-serv-anon.c2
-rw-r--r--doc/examples/ex-serv-export.c2
-rw-r--r--doc/examples/ex-serv-pgp.c2
-rw-r--r--doc/examples/ex-serv-psk.c2
-rw-r--r--doc/examples/ex-serv-srp.c2
-rw-r--r--doc/examples/ex-serv1.c2
-rw-r--r--doc/examples/ex-session-info.c2
-rw-r--r--doc/examples/ex-verify.c2
-rw-r--r--doc/examples/ex-x509-info.c2
-rw-r--r--doc/examples/tcp.c2
22 files changed, 22 insertions, 22 deletions
diff --git a/doc/examples/ex-alert.c b/doc/examples/ex-alert.c
index 5869dcaae2..7f5829925c 100644
--- a/doc/examples/ex-alert.c
+++ b/doc/examples/ex-alert.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-cert-select.c b/doc/examples/ex-cert-select.c
index 60c2881379..09b3324637 100644
--- a/doc/examples/ex-cert-select.c
+++ b/doc/examples/ex-cert-select.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-client-psk.c b/doc/examples/ex-client-psk.c
index 7ee2b01435..dc1b0f6a12 100644
--- a/doc/examples/ex-client-psk.c
+++ b/doc/examples/ex-client-psk.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-client-resume.c b/doc/examples/ex-client-resume.c
index 99679453e0..473fddf6aa 100644
--- a/doc/examples/ex-client-resume.c
+++ b/doc/examples/ex-client-resume.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-client-srp.c b/doc/examples/ex-client-srp.c
index 87dd251bec..d5efc187d0 100644
--- a/doc/examples/ex-client-srp.c
+++ b/doc/examples/ex-client-srp.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-client-tlsia.c b/doc/examples/ex-client-tlsia.c
index a34f88958b..17e344aec6 100644
--- a/doc/examples/ex-client-tlsia.c
+++ b/doc/examples/ex-client-tlsia.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-client1.c b/doc/examples/ex-client1.c
index 3f0ca13194..0b8216bdac 100644
--- a/doc/examples/ex-client1.c
+++ b/doc/examples/ex-client1.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-client2.c b/doc/examples/ex-client2.c
index f70e826a93..33cf129d1e 100644
--- a/doc/examples/ex-client2.c
+++ b/doc/examples/ex-client2.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-crq.c b/doc/examples/ex-crq.c
index d2fc9250eb..0b2bfce86f 100644
--- a/doc/examples/ex-crq.c
+++ b/doc/examples/ex-crq.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-cxx.cpp b/doc/examples/ex-cxx.cpp
index 1bade542fe..ac3d3052be 100644
--- a/doc/examples/ex-cxx.cpp
+++ b/doc/examples/ex-cxx.cpp
@@ -1,4 +1,4 @@
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#else
#endif
diff --git a/doc/examples/ex-pkcs12.c b/doc/examples/ex-pkcs12.c
index 7c094bf651..b017c85a45 100644
--- a/doc/examples/ex-pkcs12.c
+++ b/doc/examples/ex-pkcs12.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-rfc2818.c b/doc/examples/ex-rfc2818.c
index dcb03ac320..49fd7b608d 100644
--- a/doc/examples/ex-rfc2818.c
+++ b/doc/examples/ex-rfc2818.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-serv-anon.c b/doc/examples/ex-serv-anon.c
index b6c0aa3f55..3ccb0135e3 100644
--- a/doc/examples/ex-serv-anon.c
+++ b/doc/examples/ex-serv-anon.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-serv-export.c b/doc/examples/ex-serv-export.c
index 0f7383f760..0cf11f322a 100644
--- a/doc/examples/ex-serv-export.c
+++ b/doc/examples/ex-serv-export.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-serv-pgp.c b/doc/examples/ex-serv-pgp.c
index beb1582965..201068d77d 100644
--- a/doc/examples/ex-serv-pgp.c
+++ b/doc/examples/ex-serv-pgp.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-serv-psk.c b/doc/examples/ex-serv-psk.c
index 0a1b83c86f..0e93569cf3 100644
--- a/doc/examples/ex-serv-psk.c
+++ b/doc/examples/ex-serv-psk.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-serv-srp.c b/doc/examples/ex-serv-srp.c
index 38bf219b44..67a68dfca5 100644
--- a/doc/examples/ex-serv-srp.c
+++ b/doc/examples/ex-serv-srp.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-serv1.c b/doc/examples/ex-serv1.c
index c947c6a296..9eee252474 100644
--- a/doc/examples/ex-serv1.c
+++ b/doc/examples/ex-serv1.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-session-info.c b/doc/examples/ex-session-info.c
index 382b038185..6f1d07abaa 100644
--- a/doc/examples/ex-session-info.c
+++ b/doc/examples/ex-session-info.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-verify.c b/doc/examples/ex-verify.c
index c581458757..e9337213bc 100644
--- a/doc/examples/ex-verify.c
+++ b/doc/examples/ex-verify.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/ex-x509-info.c b/doc/examples/ex-x509-info.c
index 5ffee181e2..d1433ab559 100644
--- a/doc/examples/ex-x509-info.c
+++ b/doc/examples/ex-x509-info.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/doc/examples/tcp.c b/doc/examples/tcp.c
index 1a46d9de9a..ec390e623e 100644
--- a/doc/examples/tcp.c
+++ b/doc/examples/tcp.c
@@ -5,7 +5,7 @@
* notice and this notice are preserved.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif