Use correct prototype for invert().

This commit is contained in:
Guido van Rossum 1992-02-11 15:56:02 +00:00
parent cdc9355367
commit 9b1d33b105
1 changed files with 1 additions and 1 deletions

View 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);