diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-20 13:49:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-20 13:49:02 (GMT) |
commit | a3b2095071fa1f7739867bf5bb9d8a3283184693 (patch) | |
tree | 41badbabc8140d865699b5f639cd4c53edbe3851 /unix/tclUnixNotfy.c | |
parent | d1b88bf5454e9c89b01ad2e1dba7a2516a3dcd0c (diff) | |
parent | 19ea2d53ce181173f0ae6dfd2542b5ceb257d9ae (diff) | |
download | tcl-a3b2095071fa1f7739867bf5bb9d8a3283184693.zip tcl-a3b2095071fa1f7739867bf5bb9d8a3283184693.tar.gz tcl-a3b2095071fa1f7739867bf5bb9d8a3283184693.tar.bz2 |
Few more spacing/formatting tweaks
Diffstat (limited to 'unix/tclUnixNotfy.c')
-rw-r--r-- | unix/tclUnixNotfy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index 402e04f..984ee2f 100644 --- a/unix/tclUnixNotfy.c +++ b/unix/tclUnixNotfy.c @@ -131,12 +131,12 @@ TclpAlertNotifier( if (write(tsdPtr->triggerEventFd, &eventFdVal, sizeof(eventFdVal)) != sizeof(eventFdVal)) { Tcl_Panic("Tcl_AlertNotifier: unable to write to %p->triggerEventFd", - (void *) tsdPtr); + tsdPtr); } #else if (write(tsdPtr->triggerPipe[1], "", 1) != 1) { Tcl_Panic("Tcl_AlertNotifier: unable to write to %p->triggerPipe", - (void *) tsdPtr); + tsdPtr); } #endif /* NOTIFIER_EPOLL && HAVE_EVENTFD */ #endif /* NOTIFIER_SELECT */ @@ -484,7 +484,7 @@ AtForkChild(void) * * TclpNotifierData -- * - * This function returns a ClientData pointer to be associated + * This function returns a void pointer to be associated * with a Tcl_AsyncHandler. * * Results: @@ -503,7 +503,7 @@ TclpNotifierData(void) #if defined(NOTIFIER_EPOLL) || defined(NOTIFIER_KQUEUE) ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey); - return (void *) tsdPtr; + return tsdPtr; #else return NULL; #endif |