Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
bd4bc4e9
Kaydet (Commit)
bd4bc4e9
authored
Tem 22, 2000
tarafından
Thomas Wouters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Even more ANSIfication: fix as many function pointers and declarations as
possible.
üst
3b6448fb
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
18 additions
and
17 deletions
+18
-17
cryptmodule.c
Modules/cryptmodule.c
+1
-1
flmodule.c
Modules/flmodule.c
+3
-3
getpath.c
Modules/getpath.c
+1
-1
nismodule.c
Modules/nismodule.c
+1
-1
parsermodule.c
Modules/parsermodule.c
+1
-1
posixmodule.c
Modules/posixmodule.c
+5
-5
python.c
Modules/python.c
+1
-1
selectmodule.c
Modules/selectmodule.c
+1
-1
socketmodule.c
Modules/socketmodule.c
+1
-1
timemodule.c
Modules/timemodule.c
+3
-2
No files found.
Modules/cryptmodule.c
Dosyayı görüntüle @
bd4bc4e9
...
...
@@ -12,7 +12,7 @@
static
PyObject
*
crypt_crypt
(
PyObject
*
self
,
PyObject
*
args
)
{
char
*
word
,
*
salt
;
extern
char
*
crypt
();
extern
char
*
crypt
(
const
char
*
,
const
char
*
);
if
(
!
PyArg_Parse
(
args
,
"(ss)"
,
&
word
,
&
salt
))
{
return
NULL
;
...
...
Modules/flmodule.c
Dosyayı görüntüle @
bd4bc4e9
...
...
@@ -1672,7 +1672,7 @@ forms_set_event_call_back(PyObject *dummy, PyObject *args)
}
static
PyObject
*
forms_do_or_check_forms
(
PyObject
*
dummy
,
PyObject
*
args
,
FL_OBJECT
*
(
*
func
)())
forms_do_or_check_forms
(
PyObject
*
dummy
,
PyObject
*
args
,
FL_OBJECT
*
(
*
func
)(
void
))
{
FL_OBJECT
*
generic
;
genericobject
*
g
;
...
...
@@ -1751,7 +1751,7 @@ forms_check_only_forms(PyObject *dummy, PyObject *args)
#ifdef UNUSED
static
PyObject
*
fl_call
(
void
(
*
func
)(),
PyObject
*
args
)
fl_call
(
void
(
*
func
)(
void
),
PyObject
*
args
)
{
if
(
!
PyArg_NoArgs
(
args
))
return
NULL
;
...
...
@@ -2058,7 +2058,7 @@ forms_file_selector(PyObject *f, PyObject *args)
static
PyObject
*
forms_file_selector_func
(
PyObject
*
args
,
char
*
(
*
func
)())
forms_file_selector_func
(
PyObject
*
args
,
char
*
(
*
func
)(
void
))
{
char
*
str
;
...
...
Modules/getpath.c
Dosyayı görüntüle @
bd4bc4e9
...
...
@@ -349,7 +349,7 @@ search_for_exec_prefix(char *argv0_path, char *home)
static
void
calculate_path
(
void
)
{
extern
char
*
Py_GetProgramName
();
extern
char
*
Py_GetProgramName
(
void
);
static
char
delimiter
[
2
]
=
{
DELIM
,
'\0'
};
static
char
separator
[
2
]
=
{
SEP
,
'\0'
};
...
...
Modules/nismodule.c
Dosyayı görüntüle @
bd4bc4e9
...
...
@@ -20,7 +20,7 @@
#ifdef __sgi
/* This is missing from rpcsvc/ypclnt.h */
extern
int
yp_get_default_domain
();
extern
int
yp_get_default_domain
(
char
**
);
#endif
static
PyObject
*
NisError
;
...
...
Modules/parsermodule.c
Dosyayı görüntüle @
bd4bc4e9
...
...
@@ -963,7 +963,7 @@ validate_terminal(node *terminal, int type, char *string)
/* X (',' X) [',']
*/
static
int
validate_repeating_list
(
node
*
tree
,
int
ntype
,
int
(
*
vfunc
)(),
validate_repeating_list
(
node
*
tree
,
int
ntype
,
int
(
*
vfunc
)(
node
*
),
const
char
*
const
name
)
{
int
nch
=
NCH
(
tree
);
...
...
Modules/posixmodule.c
Dosyayı görüntüle @
bd4bc4e9
...
...
@@ -130,11 +130,11 @@ corresponding Unix manual entries for more information on calls.";
#ifdef HAVE_UNISTD_H
/* XXX These are for SunOS4.1.3 but shouldn't hurt elsewhere */
extern
int
rename
();
extern
int
pclose
();
extern
int
lstat
();
extern
int
symlink
();
extern
int
fsync
();
extern
int
rename
(
const
char
*
,
const
char
*
);
extern
int
pclose
(
FILE
*
);
extern
int
lstat
(
const
char
*
,
struct
stat
*
);
extern
int
symlink
(
const
char
*
,
const
char
*
);
extern
int
fsync
(
int
fd
);
#else
/* !HAVE_UNISTD_H */
#if defined(PYCC_VACPP)
extern
int
mkdir
(
char
*
);
...
...
Modules/python.c
Dosyayı görüntüle @
bd4bc4e9
...
...
@@ -2,7 +2,7 @@
#include "Python.h"
extern
DL_EXPORT
(
int
)
Py_Main
();
extern
DL_EXPORT
(
int
)
Py_Main
(
int
,
char
**
);
int
main
(
int
argc
,
char
**
argv
)
...
...
Modules/selectmodule.c
Dosyayı görüntüle @
bd4bc4e9
...
...
@@ -27,7 +27,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#ifdef __sgi
/* This is missing from unistd.h */
extern
void
bzero
();
extern
void
bzero
(
void
*
,
int
);
#endif
#ifndef DONT_HAVE_SYS_TYPES_H
...
...
Modules/socketmodule.c
Dosyayı görüntüle @
bd4bc4e9
...
...
@@ -111,7 +111,7 @@ Socket methods:
#endif
#if !defined(MS_WINDOWS) && !defined(PYOS_OS2) && !defined(__BEOS__)
extern
int
gethostname
();
/* For Solaris, at least */
extern
int
gethostname
(
char
*
,
size_t
);
/* For Solaris, at least */
#endif
#if defined(PYCC_VACPP)
...
...
Modules/timemodule.c
Dosyayı görüntüle @
bd4bc4e9
...
...
@@ -49,7 +49,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#ifdef HAVE_FTIME
#include <sys/timeb.h>
#if !defined(MS_WINDOWS) && !defined(PYOS_OS2)
extern
int
ftime
();
extern
int
ftime
(
struct
timeb
*
);
#endif
/* MS_WINDOWS */
#endif
/* HAVE_FTIME */
...
...
@@ -384,7 +384,8 @@ See the library reference manual for formatting codes.";
#ifdef HAVE_STRPTIME
#if 0
extern char *strptime(); /* Enable this if it's not declared in <time.h> */
/* Enable this if it's not declared in <time.h> */
extern char *strptime(const char *, const char *, struct tm *);
#endif
static
PyObject
*
...
...
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