cmp_chunk returns int argument

This commit is contained in:
Andreas Steffen
2007-03-27 04:39:44 +00:00
parent 0953f2a65f
commit 469e9686ae
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ concatenate_paths(const char *a, const char *b)
/* compare two chunks, returns zero if a equals b
* negative/positive if a is earlier/later in the alphabet than b
*/
bool
int
cmp_chunk(chunk_t a, chunk_t b)
{
int cmp_len, len, cmp_value;
+1 -1
View File
@@ -90,7 +90,7 @@ extern const char* concatenate_paths(const char *a, const char *b);
extern const chunk_t empty_chunk;
/* compare two chunks */
extern bool cmp_chunk(chunk_t a, chunk_t b);
extern int cmp_chunk(chunk_t a, chunk_t b);
/* move a chunk to a memory position and free it after insertion */
extern void mv_chunk(u_char **pos, chunk_t content);