commit | 51de6906be81dda5ff7af6cf65691b76afd42ec7 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Fri Sep 01 00:01:58 2000 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Fri Sep 01 00:01:58 2000 +0000 |
tree | 0dd3b5c190c5a04e839c74cec4563eeee3dceec1 | |
parent | 9a2d9d7f04f2ed08574c670bb5ee8ead2a4048ce [diff] [blame] |
Supply missing prototypes for new Py_{Get,Set}RecursionLimit; fixes compiler wngs; un-analize Get's definition ("void" is needed only in declarations, not defns, & is generally considered bad style in the latter).
diff --git a/Python/ceval.c b/Python/ceval.c index 7e11250..63a2479 100644 --- a/Python/ceval.c +++ b/Python/ceval.c
@@ -302,7 +302,7 @@ static int recursion_limit = 2500; -int Py_GetRecursionLimit(void) +int Py_GetRecursionLimit() { return recursion_limit; }