diff options
Diffstat (limited to 'contrib/cvs/src/hash.c')
-rw-r--r-- | contrib/cvs/src/hash.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/cvs/src/hash.c b/contrib/cvs/src/hash.c index ff3f122..af000ac 100644 --- a/contrib/cvs/src/hash.c +++ b/contrib/cvs/src/hash.c @@ -436,6 +436,17 @@ sortlist (list, comp) free (array); } +/* + * compare two files list node (for sort) + */ +int +fsortcmp (p, q) + const Node *p; + const Node *q; +{ + return (strcmp (p->key, q->key)); +} + /* Debugging functions. Quite useful to call from within gdb. */ static char *nodetypestring PROTO ((Ntype)); |