]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Use correct prototype for invert().
authorGuido van Rossum <guido@python.org>
Tue, 11 Feb 1992 15:56:02 +0000 (15:56 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 11 Feb 1992 15:56:02 +0000 (15:56 +0000)
Python/ceval.c

index 653b1cd54d9bdd305f4ce42aa29e1e0041dc2c8a..1c3a6102d6af1ef0e9eee1cf1750882e0e918440 100644 (file)
@@ -1532,7 +1532,7 @@ static object *
 invert(v)
        object *v;
 {
-       object * (*f) FPROTO((object *, object *));
+       object * (*f) FPROTO((object *));
        if (v->ob_type->tp_as_number != NULL &&
                (f = v->ob_type->tp_as_number->nb_invert) != NULL)
                return (*f)(v);