From 97e32cf4f7b1f10c946538135b1b34e5bcbf672b Mon Sep 17 00:00:00 2001 From: nijtmans Date: Thu, 18 Dec 2008 06:40:02 +0000 Subject: VOID -> void --- ChangeLog | 8 ++++++++ compat/dlfcn.h | 8 ++++---- generic/tcl.decls | 6 +++--- generic/tclDecls.h | 10 +++++----- generic/tclInt.decls | 4 ++-- generic/tclIntDecls.h | 6 +++--- 6 files changed, 25 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index bcf6150..85d696d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-12-18 Jan Nijtmans + + * generic/tcl.decls: VOID -> void + * generic/tclInt.decls + * compat/dlfcn.h + * generic/tclDecls.h (regenerated) + * generic/tclIntDecls.h + 2008-12-18 Alexandre Ferrieux TIP #332 IMPLEMENTATION - Half-Close for Bidirectional Channels diff --git a/compat/dlfcn.h b/compat/dlfcn.h index 03d878a..ef8ff0c 100644 --- a/compat/dlfcn.h +++ b/compat/dlfcn.h @@ -1,4 +1,4 @@ -/* +/* * dlfcn.h -- * * This file provides a replacement for the header file "dlfcn.h" @@ -17,7 +17,7 @@ * for any results of using the software, alterations are clearly marked * as such, and this notice is not modified. * - * RCS: @(#) $Id: dlfcn.h,v 1.3 2008/09/03 05:43:31 dgp Exp $ + * RCS: @(#) $Id: dlfcn.h,v 1.4 2008/12/18 06:40:03 nijtmans Exp $ */ /* @@ -53,8 +53,8 @@ struct dl_info { void (*fini) (void); }; -VOID *dlopen (const char *path, int mode); -VOID *dlsym (void *handle, const char *symbol); +void *dlopen (const char *path, int mode); +void *dlsym (void *handle, const char *symbol); char *dlerror (void); int dlclose (void *handle); diff --git a/generic/tcl.decls b/generic/tcl.decls index c97331b..ffa6eba 100644 --- a/generic/tcl.decls +++ b/generic/tcl.decls @@ -12,7 +12,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: tcl.decls,v 1.163 2008/12/18 01:14:16 ferrieux Exp $ +# RCS: @(#) $Id: tcl.decls,v 1.164 2008/12/18 06:40:02 nijtmans Exp $ library tcl @@ -1096,11 +1096,11 @@ declare 303 generic { } declare 304 generic { int Tcl_GetIndexFromObjStruct(Tcl_Interp *interp, Tcl_Obj *objPtr, - const VOID *tablePtr, int offset, const char *msg, int flags, + const void *tablePtr, int offset, const char *msg, int flags, int *indexPtr) } declare 305 generic { - VOID *Tcl_GetThreadData(Tcl_ThreadDataKey *keyPtr, int size) + void *Tcl_GetThreadData(Tcl_ThreadDataKey *keyPtr, int size) } declare 306 generic { Tcl_Obj *Tcl_GetVar2Ex(Tcl_Interp *interp, const char *part1, diff --git a/generic/tclDecls.h b/generic/tclDecls.h index fb8ba5c..e2e4366 100644 --- a/generic/tclDecls.h +++ b/generic/tclDecls.h @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclDecls.h,v 1.165 2008/12/18 04:38:01 dgp Exp $ + * RCS: @(#) $Id: tclDecls.h,v 1.166 2008/12/18 06:40:02 nijtmans Exp $ */ #ifndef _TCLDECLS @@ -1892,14 +1892,14 @@ EXTERN void Tcl_GetEncodingNames (Tcl_Interp * interp); #define Tcl_GetIndexFromObjStruct_TCL_DECLARED /* 304 */ EXTERN int Tcl_GetIndexFromObjStruct (Tcl_Interp * interp, - Tcl_Obj * objPtr, const VOID * tablePtr, + Tcl_Obj * objPtr, const void * tablePtr, int offset, const char * msg, int flags, int * indexPtr); #endif #ifndef Tcl_GetThreadData_TCL_DECLARED #define Tcl_GetThreadData_TCL_DECLARED /* 305 */ -EXTERN VOID * Tcl_GetThreadData (Tcl_ThreadDataKey * keyPtr, +EXTERN void * Tcl_GetThreadData (Tcl_ThreadDataKey * keyPtr, int size); #endif #ifndef Tcl_GetVar2Ex_TCL_DECLARED @@ -4138,8 +4138,8 @@ typedef struct TclStubs { Tcl_Encoding (*tcl_GetEncoding) (Tcl_Interp * interp, const char * name); /* 301 */ CONST84_RETURN char * (*tcl_GetEncodingName) (Tcl_Encoding encoding); /* 302 */ void (*tcl_GetEncodingNames) (Tcl_Interp * interp); /* 303 */ - int (*tcl_GetIndexFromObjStruct) (Tcl_Interp * interp, Tcl_Obj * objPtr, const VOID * tablePtr, int offset, const char * msg, int flags, int * indexPtr); /* 304 */ - VOID * (*tcl_GetThreadData) (Tcl_ThreadDataKey * keyPtr, int size); /* 305 */ + int (*tcl_GetIndexFromObjStruct) (Tcl_Interp * interp, Tcl_Obj * objPtr, const void * tablePtr, int offset, const char * msg, int flags, int * indexPtr); /* 304 */ + void * (*tcl_GetThreadData) (Tcl_ThreadDataKey * keyPtr, int size); /* 305 */ Tcl_Obj * (*tcl_GetVar2Ex) (Tcl_Interp * interp, const char * part1, const char * part2, int flags); /* 306 */ ClientData (*tcl_InitNotifier) (void); /* 307 */ void (*tcl_MutexLock) (Tcl_Mutex * mutexPtr); /* 308 */ diff --git a/generic/tclInt.decls b/generic/tclInt.decls index c6ab207..b413a4a 100644 --- a/generic/tclInt.decls +++ b/generic/tclInt.decls @@ -13,7 +13,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: tclInt.decls,v 1.133 2008/12/17 17:54:01 dgp Exp $ +# RCS: @(#) $Id: tclInt.decls,v 1.134 2008/12/18 06:40:02 nijtmans Exp $ library tcl @@ -579,7 +579,7 @@ declare 145 generic { CONST86 struct AuxDataType *TclGetAuxDataType(const char *typeName) } declare 146 generic { - TclHandle TclHandleCreate(VOID *ptr) + TclHandle TclHandleCreate(void *ptr) } declare 147 generic { void TclHandleFree(TclHandle handle) diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h index 6367064..b4adc16 100644 --- a/generic/tclIntDecls.h +++ b/generic/tclIntDecls.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIntDecls.h,v 1.128 2008/12/15 15:48:33 dgp Exp $ + * RCS: @(#) $Id: tclIntDecls.h,v 1.129 2008/12/18 06:40:02 nijtmans Exp $ */ #ifndef _TCLINTDECLS @@ -689,7 +689,7 @@ EXTERN CONST86 struct AuxDataType * TclGetAuxDataType (const char * typeName); #ifndef TclHandleCreate_TCL_DECLARED #define TclHandleCreate_TCL_DECLARED /* 146 */ -EXTERN TclHandle TclHandleCreate (VOID * ptr); +EXTERN TclHandle TclHandleCreate (void * ptr); #endif #ifndef TclHandleFree_TCL_DECLARED #define TclHandleFree_TCL_DECLARED @@ -1257,7 +1257,7 @@ typedef struct TclIntStubs { int (*tclAddLiteralObj) (struct CompileEnv * envPtr, Tcl_Obj * objPtr, LiteralEntry ** litPtrPtr); /* 143 */ void (*tclHideLiteral) (Tcl_Interp * interp, struct CompileEnv * envPtr, int index); /* 144 */ CONST86 struct AuxDataType * (*tclGetAuxDataType) (const char * typeName); /* 145 */ - TclHandle (*tclHandleCreate) (VOID * ptr); /* 146 */ + TclHandle (*tclHandleCreate) (void * ptr); /* 146 */ void (*tclHandleFree) (TclHandle handle); /* 147 */ TclHandle (*tclHandlePreserve) (TclHandle handle); /* 148 */ void (*tclHandleRelease) (TclHandle handle); /* 149 */ -- cgit v0.12