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
1b630688
Commit
1b630688
authored
Jul 24, 2000
by
Thomas Wouters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ANSIfy some more forward declarations.
parent
d428c1bd
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
13 deletions
+13
-13
Modules/_tkinter.c
Modules/_tkinter.c
+2
-2
Modules/bsddbmodule.c
Modules/bsddbmodule.c
+1
-1
Modules/cPickle.c
Modules/cPickle.c
+4
-4
Modules/cStringIO.c
Modules/cStringIO.c
+1
-1
Modules/dbmmodule.c
Modules/dbmmodule.c
+1
-1
Modules/gdbmmodule.c
Modules/gdbmmodule.c
+1
-1
Modules/sunaudiodev.c
Modules/sunaudiodev.c
+2
-2
Modules/timemodule.c
Modules/timemodule.c
+1
-1
No files found.
Modules/_tkinter.c
View file @
1b630688
...
...
@@ -433,8 +433,8 @@ Tcl_AppInit(Tcl_Interp *interp)
* `tkMain.c'.
*/
static
void
EnableEventHook
();
/* Forward */
static
void
DisableEventHook
();
/* Forward */
static
void
EnableEventHook
(
void
);
/* Forward */
static
void
DisableEventHook
(
void
);
/* Forward */
static
TkappObject
*
Tkapp_New
(
char
*
screenName
,
char
*
baseName
,
char
*
className
,
int
interactive
)
...
...
Modules/bsddbmodule.c
View file @
1b630688
...
...
@@ -786,7 +786,7 @@ static PyMethodDef bsddbmodule_methods[] = {
};
DL_EXPORT
(
void
)
initbsddb
()
{
initbsddb
(
void
)
{
PyObject
*
m
,
*
d
;
Bsddbtype
.
ob_type
=
&
PyType_Type
;
...
...
Modules/cPickle.c
View file @
1b630688
...
...
@@ -180,7 +180,7 @@ static PyTypeObject PdataType = {
#define Pdata_Check(O) ((O)->ob_type == &PdataType)
static
PyObject
*
Pdata_New
()
{
Pdata_New
(
void
)
{
Pdata
*
self
;
UNLESS
(
self
=
PyObject_New
(
Pdata
,
&
PdataType
))
return
NULL
;
...
...
@@ -193,7 +193,7 @@ Pdata_New() {
}
static
int
stackUnderflow
()
{
stackUnderflow
(
void
)
{
PyErr_SetString
(
UnpicklingError
,
"unpickling stack underflow"
);
return
-
1
;
}
...
...
@@ -2418,7 +2418,7 @@ load_none(Unpicklerobject *self) {
}
static
int
bad_readline
()
{
bad_readline
(
void
)
{
PyErr_SetString
(
UnpicklingError
,
"pickle data was truncated"
);
return
-
1
;
}
...
...
@@ -4516,7 +4516,7 @@ init_stuff(PyObject *module, PyObject *module_dict) {
#define DL_EXPORT(RTYPE) RTYPE
#endif
DL_EXPORT
(
void
)
initcPickle
()
{
initcPickle
(
void
)
{
PyObject
*
m
,
*
d
,
*
v
;
char
*
rev
=
"1.71"
;
PyObject
*
format_version
;
...
...
Modules/cStringIO.c
View file @
1b630688
...
...
@@ -639,7 +639,7 @@ static struct PycStringIO_CAPI CAPI = {
#define DL_EXPORT(RTYPE) RTYPE
#endif
DL_EXPORT
(
void
)
initcStringIO
()
{
initcStringIO
(
void
)
{
PyObject
*
m
,
*
d
,
*
v
;
...
...
Modules/dbmmodule.c
View file @
1b630688
...
...
@@ -272,7 +272,7 @@ static PyMethodDef dbmmodule_methods[] = {
};
DL_EXPORT
(
void
)
initdbm
()
{
initdbm
(
void
)
{
PyObject
*
m
,
*
d
;
m
=
Py_InitModule
(
"dbm"
,
dbmmodule_methods
);
...
...
Modules/gdbmmodule.c
View file @
1b630688
...
...
@@ -474,7 +474,7 @@ static PyMethodDef dbmmodule_methods[] = {
};
DL_EXPORT
(
void
)
initgdbm
()
{
initgdbm
(
void
)
{
PyObject
*
m
,
*
d
;
Dbmtype
.
ob_type
=
&
PyType_Type
;
...
...
Modules/sunaudiodev.c
View file @
1b630688
...
...
@@ -51,7 +51,7 @@ typedef struct {
staticforward
PyTypeObject
Sadtype
;
staticforward
PyTypeObject
Sadstatustype
;
static
sadstatusobject
*
sads_alloc
();
/* Forward */
static
sadstatusobject
*
sads_alloc
(
void
);
/* Forward */
static
PyObject
*
SunAudioError
;
...
...
@@ -364,7 +364,7 @@ sad_getattr(sadobject *xp, char *name)
/* ----------------------------------------------------------------- */
static
sadstatusobject
*
sads_alloc
()
{
sads_alloc
(
void
)
{
return
PyObject_New
(
sadstatusobject
,
&
Sadstatustype
);
}
...
...
Modules/timemodule.c
View file @
1b630688
...
...
@@ -91,7 +91,7 @@ extern int ftime(struct timeb *);
/* Forward declarations */
static
int
floatsleep
(
double
);
static
double
floattime
();
static
double
floattime
(
double
);
/* For Y2K check */
static
PyObject
*
moddict
;
...
...
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