diff options
author | Thomas Heller <theller@ctypes.org> | 2009-04-16 06:42:02 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2009-04-16 06:42:02 (GMT) |
commit | 2d693588024349dac18a882e0ff1b5721f81c89b (patch) | |
tree | cc56a0241c9d3042b89cb4c04338e18915d83a14 /Modules | |
parent | 4954ffd98d07ee783a3c718129229ddf886c128c (diff) | |
download | cpython-2d693588024349dac18a882e0ff1b5721f81c89b.zip cpython-2d693588024349dac18a882e0ff1b5721f81c89b.tar.gz cpython-2d693588024349dac18a882e0ff1b5721f81c89b.tar.bz2 |
Remove duplicated function declaration.
Make _pagesize static.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/ctypes.h | 1 | ||||
-rw-r--r-- | Modules/_ctypes/malloc_closure.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Modules/_ctypes/ctypes.h b/Modules/_ctypes/ctypes.h index d5cb326..6de9a81 100644 --- a/Modules/_ctypes/ctypes.h +++ b/Modules/_ctypes/ctypes.h @@ -351,7 +351,6 @@ struct tagPyCArgObject { }; extern PyTypeObject PyCArg_Type; -extern PyCArgObject *new_CArgObject(void); #define PyCArg_CheckExact(v) ((v)->ob_type == &PyCArg_Type) extern PyCArgObject *new_CArgObject(void); diff --git a/Modules/_ctypes/malloc_closure.c b/Modules/_ctypes/malloc_closure.c index 73fc0d9..105935e 100644 --- a/Modules/_ctypes/malloc_closure.c +++ b/Modules/_ctypes/malloc_closure.c @@ -32,7 +32,7 @@ typedef union _tagITEM { } ITEM; static ITEM *free_list; -int _pagesize; +static int _pagesize; static void more_core(void) { |