cmp_chunk returns int argument
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ concatenate_paths(const char *a, const char *b)
|
|||||||
/* compare two chunks, returns zero if a equals b
|
/* compare two chunks, returns zero if a equals b
|
||||||
* negative/positive if a is earlier/later in the alphabet than b
|
* negative/positive if a is earlier/later in the alphabet than b
|
||||||
*/
|
*/
|
||||||
bool
|
int
|
||||||
cmp_chunk(chunk_t a, chunk_t b)
|
cmp_chunk(chunk_t a, chunk_t b)
|
||||||
{
|
{
|
||||||
int cmp_len, len, cmp_value;
|
int cmp_len, len, cmp_value;
|
||||||
|
|||||||
+1
-1
@@ -90,7 +90,7 @@ extern const char* concatenate_paths(const char *a, const char *b);
|
|||||||
extern const chunk_t empty_chunk;
|
extern const chunk_t empty_chunk;
|
||||||
|
|
||||||
/* compare two chunks */
|
/* 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 */
|
/* move a chunk to a memory position and free it after insertion */
|
||||||
extern void mv_chunk(u_char **pos, chunk_t content);
|
extern void mv_chunk(u_char **pos, chunk_t content);
|
||||||
|
|||||||
Reference in New Issue
Block a user