Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2677512f
Commit
2677512f
authored
Oct 21, 2001
by
Neil Schemenauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding missing "static" declarations (found by "make smelly").
parent
c3ffef66
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
Modules/newmodule.c
Modules/newmodule.c
+1
-1
Modules/xxsubtype.c
Modules/xxsubtype.c
+1
-1
Objects/descrobject.c
Objects/descrobject.c
+3
-3
No files found.
Modules/newmodule.c
View file @
2677512f
...
...
@@ -215,7 +215,7 @@ static PyMethodDef new_methods[] = {
{
NULL
,
NULL
}
/* sentinel */
};
char
new_doc
[]
=
static
char
new_doc
[]
=
"Functions to create new objects used by the interpreter.
\n
\
\n
\
You need to know a great deal about the interpreter to use this!"
;
...
...
Modules/xxsubtype.c
View file @
2677512f
...
...
@@ -197,7 +197,7 @@ static PyTypeObject spamdict_type = {
0
,
/* tp_new */
};
PyObject
*
static
PyObject
*
spam_bench
(
PyObject
*
self
,
PyObject
*
args
)
{
PyObject
*
obj
,
*
name
,
*
res
;
...
...
Objects/descrobject.c
View file @
2677512f
...
...
@@ -673,7 +673,7 @@ proxy_getiter(proxyobject *pp)
return
PyObject_GetIter
(
pp
->
dict
);
}
PyObject
*
static
PyObject
*
proxy_str
(
proxyobject
*
pp
)
{
return
PyObject_Str
(
pp
->
dict
);
...
...
@@ -693,7 +693,7 @@ proxy_traverse(PyObject *self, visitproc visit, void *arg)
return
0
;
}
PyTypeObject
proxytype
=
{
static
PyTypeObject
proxytype
=
{
PyObject_HEAD_INIT
(
&
PyType_Type
)
0
,
/* ob_size */
"dict-proxy"
,
/* tp_name */
...
...
@@ -827,7 +827,7 @@ wrapper_traverse(PyObject *self, visitproc visit, void *arg)
return
0
;
}
PyTypeObject
wrappertype
=
{
static
PyTypeObject
wrappertype
=
{
PyObject_HEAD_INIT
(
&
PyType_Type
)
0
,
/* ob_size */
"method-wrapper"
,
/* tp_name */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment