Module Name:    src
Committed By:   agc
Date:           Mon Apr  4 20:37:49 UTC 2011

Modified Files:
        src/external/bsd/liblzf/dist: lzf.h

Log Message:
remove function parameter names from function prototypes

make the lzf_compress() prototype match the function definition - the
prototype always added the state table argument, although it should be
conditionally compiled in.  use the same cpp magic as in the source
file to prototype the function in the header file.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/liblzf/dist/lzf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/liblzf/dist/lzf.h
diff -u src/external/bsd/liblzf/dist/lzf.h:1.2 src/external/bsd/liblzf/dist/lzf.h:1.3
--- src/external/bsd/liblzf/dist/lzf.h:1.2	Wed Feb  3 03:55:38 2010
+++ src/external/bsd/liblzf/dist/lzf.h	Mon Apr  4 20:37:49 2011
@@ -76,9 +76,12 @@
  *
  */
 unsigned int 
-lzf_compress (const void *const in_data,  unsigned int in_len,
-              void             *out_data, unsigned int out_len,
-	      LZF_STATE htab);
+lzf_compress (const void *const,  unsigned int,
+              void             *, unsigned int 
+#if LZF_STATE_ARG
+	      , LZF_STATE
+#endif
+	      );
 	 
 /*
  * Decompress data compressed with some version of the lzf_compress
@@ -96,8 +99,8 @@
  * This function is very fast, about as fast as a copying loop.
  */
 unsigned int 
-lzf_decompress (const void *const in_data,  unsigned int in_len,
-                void             *out_data, unsigned int out_len);
+lzf_decompress (const void *const ,  unsigned int,
+                void             *, unsigned int);
 
 #endif
 

Reply via email to