]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
make invalid_comma_and_underscore a real prototype
authorBenjamin Peterson <benjamin@python.org>
Sat, 10 Sep 2016 03:14:05 +0000 (20:14 -0700)
committerBenjamin Peterson <benjamin@python.org>
Sat, 10 Sep 2016 03:14:05 +0000 (20:14 -0700)
Python/formatter_unicode.c

index 95c507ec6ea8f26b91f9d6bf74f94fedcdeef3e6..c4a2d9dbfec982e996bc2811adddbac7b3f2fd4e 100644 (file)
@@ -41,7 +41,7 @@ invalid_comma_type(Py_UCS4 presentation_type)
 }
 
 static void
-invalid_comma_and_underscore()
+invalid_comma_and_underscore(void)
 {
     PyErr_Format(PyExc_ValueError, "Cannot specify both ',' and '_'.");
 }