diff Python/exceptions.c @ 17518:f939ce52a734 legacy-trunk

Make some private symbols static.
author Guido van Rossum <guido@python.org>
date Sat, 14 Apr 2001 17:55:09 +0000
parents 847844248c6f
children 32e7d0898eab
line wrap: on
line diff
--- a/Python/exceptions.c	Sat Apr 14 16:45:14 2001 +0000
+++ b/Python/exceptions.c	Sat Apr 14 17:55:09 2001 +0000
@@ -420,7 +420,7 @@
 }
 
 
-PyMethodDef SystemExit_methods[] = {
+static PyMethodDef SystemExit_methods[] = {
     { "__init__", SystemExit__init__, METH_VARARGS},
     {NULL, NULL}
 };
@@ -836,7 +836,7 @@
 }
 
 
-PyMethodDef SyntaxError_methods[] = {
+static PyMethodDef SyntaxError_methods[] = {
     {"__init__", SyntaxError__init__, METH_VARARGS},
     {"__str__",  SyntaxError__str__, METH_VARARGS},
     {NULL, NULL}