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 | 7d7ef84838ff5db5de2069e8f5aa8fa1ae79ce6b (patch) | |
| tree | 41badbabc8140d865699b5f639cd4c53edbe3851 /unix/tclUnixNotfy.c | |
| parent | 3ba2524ad4dcbada77fd5079cb69007cdea2a5e9 (diff) | |
| parent | 6d093a49bdc100e9422cbde3980c3136f5989922 (diff) | |
| download | tcl-7d7ef84838ff5db5de2069e8f5aa8fa1ae79ce6b.zip tcl-7d7ef84838ff5db5de2069e8f5aa8fa1ae79ce6b.tar.gz tcl-7d7ef84838ff5db5de2069e8f5aa8fa1ae79ce6b.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 |
