[xmlsec] add xmlsec.xsl to distribution; fix warnings



commit 841f388a27c952d129f16dd3a879e599c84db005
Author: Aleksey Sanin <aleksey aleksey com>
Date:   Mon Jul 13 23:45:54 2009 -0700

    add xmlsec.xsl to distribution; fix warnings

 docs/Makefile.am                |    1 +
 docs/api/Makefile.am            |    4 ++--
 include/xmlsec/gnutls/crypto.h  |    2 +-
 include/xmlsec/nss/crypto.h     |    2 +-
 include/xmlsec/openssl/crypto.h |    2 +-
 src/gnutls/hmac.c               |    2 +-
 src/nss/hmac.c                  |    2 +-
 src/openssl/hmac.c              |    2 +-
 8 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 301d2e5..50a2542 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -6,6 +6,7 @@ TARGET_DIR= XMLSEC_DOCDIR@
 
 EXTRA_DIST=\
 	images \
+	xmlsec.xsl \
 	$(NULL)
 
 # just do nothing
diff --git a/docs/api/Makefile.am b/docs/api/Makefile.am
index 4a6b331..66d3869 100644
--- a/docs/api/Makefile.am
+++ b/docs/api/Makefile.am
@@ -16,8 +16,8 @@ EXTRA_DIST = \
 #
 DOC_SOURCE_DIR=./code
 DOC_SOURCE_FILES=\
-	$(shell find $(SOURCE_DIR) -name '*.c' -print )  \
-	 $(shell find $(INCLUDE_DIR) -name '*.h' -a ! -name "symbols.h" -print )
+	$(shell find $(SOURCE_DIR) -name '*.c' -a ! -name "xkms*" -print )  \
+	$(shell find $(INCLUDE_DIR) -name '*.h' -a ! -name "symbols.h" -a ! -name "xkms*" -print )
 
 EXAMPLES_SOURCE_DIR=../../examples
 EXAMPLES_SOURCE_FILES=\
diff --git a/include/xmlsec/gnutls/crypto.h b/include/xmlsec/gnutls/crypto.h
index f7fbbad..7570831 100644
--- a/include/xmlsec/gnutls/crypto.h
+++ b/include/xmlsec/gnutls/crypto.h
@@ -114,7 +114,7 @@ XMLSEC_CRYPTO_EXPORT xmlSecTransformId xmlSecGnuTLSTransformDes3CbcGetKlass(void
  *******************************************************************/
 #ifndef XMLSEC_NO_HMAC
 
-XMLSEC_CRYPTO_EXPORT int               xmlSecGnuTLSHmacGetMinOutputLength();
+XMLSEC_CRYPTO_EXPORT int               xmlSecGnuTLSHmacGetMinOutputLength(void);
 XMLSEC_CRYPTO_EXPORT void              xmlSecGnuTLSHmacSetMinOutputLength(int min_length);
 
 /** 
diff --git a/include/xmlsec/nss/crypto.h b/include/xmlsec/nss/crypto.h
index 381ee1f..42ba6ca 100644
--- a/include/xmlsec/nss/crypto.h
+++ b/include/xmlsec/nss/crypto.h
@@ -192,7 +192,7 @@ XMLSEC_CRYPTO_EXPORT xmlSecTransformId xmlSecNssTransformDsaSha1GetKlass(void);
  *******************************************************************/
 #ifndef XMLSEC_NO_HMAC
 
-XMLSEC_CRYPTO_EXPORT int               xmlSecNssHmacGetMinOutputLength();
+XMLSEC_CRYPTO_EXPORT int               xmlSecNssHmacGetMinOutputLength(void);
 XMLSEC_CRYPTO_EXPORT void              xmlSecNssHmacSetMinOutputLength(int min_length);
 
 /** 
diff --git a/include/xmlsec/openssl/crypto.h b/include/xmlsec/openssl/crypto.h
index 3b50b40..4fe0ca7 100644
--- a/include/xmlsec/openssl/crypto.h
+++ b/include/xmlsec/openssl/crypto.h
@@ -201,7 +201,7 @@ XMLSEC_CRYPTO_EXPORT xmlSecTransformId xmlSecOpenSSLTransformDsaSha1GetKlass(voi
  *******************************************************************/
 #ifndef XMLSEC_NO_HMAC
 
-XMLSEC_CRYPTO_EXPORT int               xmlSecOpenSSLHmacGetMinOutputLength();
+XMLSEC_CRYPTO_EXPORT int               xmlSecOpenSSLHmacGetMinOutputLength(void);
 XMLSEC_CRYPTO_EXPORT void              xmlSecOpenSSLHmacSetMinOutputLength(int min_length);
 
 /** 
diff --git a/src/gnutls/hmac.c b/src/gnutls/hmac.c
index 300c929..892dc82 100644
--- a/src/gnutls/hmac.c
+++ b/src/gnutls/hmac.c
@@ -38,7 +38,7 @@ static int g_xmlsec_gnutls_hmac_min_length = XMLSEC_GNUTLS_MIN_HMAC_SIZE;
  * 
  * Returns the min HMAC output length
  */
-int xmlSecGnuTLSHmacGetMinOutputLength()
+int xmlSecGnuTLSHmacGetMinOutputLength(void)
 {
     return g_xmlsec_gnutls_hmac_min_length;
 }
diff --git a/src/nss/hmac.c b/src/nss/hmac.c
index 0080a8f..eddb5ef 100644
--- a/src/nss/hmac.c
+++ b/src/nss/hmac.c
@@ -41,7 +41,7 @@ static int g_xmlsec_nss_hmac_min_length = XMLSEC_NSS_MIN_HMAC_SIZE;
  * 
  * Returns the min HMAC output length
  */
-int xmlSecNssHmacGetMinOutputLength()
+int xmlSecNssHmacGetMinOutputLength(void)
 {
     return g_xmlsec_nss_hmac_min_length;
 }
diff --git a/src/openssl/hmac.c b/src/openssl/hmac.c
index 7134e34..1a2d077 100644
--- a/src/openssl/hmac.c
+++ b/src/openssl/hmac.c
@@ -46,7 +46,7 @@ static int g_xmlsec_openssl_hmac_min_length = XMLSEC_OPENSSL_MIN_HMAC_SIZE;
  * 
  * Returns the min HMAC output length
  */
-int xmlSecOpenSSLHmacGetMinOutputLength()
+int xmlSecOpenSSLHmacGetMinOutputLength(void)
 {
     return g_xmlsec_openssl_hmac_min_length;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]