From 2d693588024349dac18a882e0ff1b5721f81c89b Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Thu, 16 Apr 2009 06:42:02 +0000 Subject: Remove duplicated function declaration. Make _pagesize static. --- Modules/_ctypes/ctypes.h | 1 - Modules/_ctypes/malloc_closure.c | 2 +- 2 files changed, 1 insertion(+), 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) { -- cgit v0.12