apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r595264 - /apr/apr-util/trunk/crypto/apr_md5.c
Date Thu, 15 Nov 2007 10:48:39 GMT
Author: jorton
Date: Thu Nov 15 02:48:38 2007
New Revision: 595264

URL: http://svn.apache.org/viewvc?rev=595264&view=rev
Log:
* crypto/apr_md5.c (md5_update_buffer, apr_md5_update): Fix code style
  and don't use symbols with a leading underscore (reserved by C
  standard).  No functional change.

Modified:
    apr/apr-util/trunk/crypto/apr_md5.c

Modified: apr/apr-util/trunk/crypto/apr_md5.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/crypto/apr_md5.c?rev=595264&r1=595263&r2=595264&view=diff
==============================================================================
--- apr/apr-util/trunk/crypto/apr_md5.c (original)
+++ apr/apr-util/trunk/crypto/apr_md5.c Thu Nov 15 02:48:38 2007
@@ -198,11 +198,11 @@
  * context.
  */
 static apr_status_t md5_update_buffer(apr_md5_ctx_t *context,
-                               const void *_input,
-                               apr_size_t inputLen,
-                               int xlate_buffer)
+                                      const void *vinput,
+                                      apr_size_t inputLen,
+                                      int xlate_buffer)
 {
-    const unsigned char *input = _input;
+    const unsigned char *input = vinput;
     unsigned int i, idx, partLen;
 #if APR_HAS_XLATE
     apr_size_t inbytes_left, outbytes_left;
@@ -286,10 +286,10 @@
  * for EBCDIC translations
  */  
 APU_DECLARE(apr_status_t) apr_md5_update(apr_md5_ctx_t *context,
-                                         const void *_input,
+                                         const void *input,
                                          apr_size_t inputLen)
 {
-    return md5_update_buffer( context, _input, inputLen, DO_XLATE);
+    return md5_update_buffer(context, input, inputLen, DO_XLATE);
 }
 
 /* MD5 finalization. Ends an MD5 message-digest operation, writing the



Mime
View raw message