The findvar() function in keyword.c contains a prototype of the vcmp()
function, which is already declared further up in the same file. I'm not
even sure that prototype is correct, as it fails to include the 'static'
classifier (vcmp() is a static function).

cheers,
natano

Index: keyword.c
===================================================================
RCS file: /cvs/src/bin/ps/keyword.c,v
retrieving revision 1.40
diff -u -r1.40 keyword.c
--- keyword.c   20 Mar 2014 03:38:33 -0000      1.40
+++ keyword.c   12 Oct 2014 17:27:55 -0000
@@ -250,7 +250,6 @@
 {
        VAR *v, key;
        char *hp;
-       int vcmp(const void *, const void *);
 
        key.name = p;
 

Reply via email to