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 | ae22ee577e1296427b927dda75f49560f6256c60 (patch) | |
| tree | 41badbabc8140d865699b5f639cd4c53edbe3851 /unix/tclUnixNotfy.c | |
| parent | a72c1f969cba896ca61001393f0f7b74fb52e194 (diff) | |
| parent | a9b046b5bd7c666a406a17cbb0d86a2842091bac (diff) | |
| download | tcl-ae22ee577e1296427b927dda75f49560f6256c60.zip tcl-ae22ee577e1296427b927dda75f49560f6256c60.tar.gz tcl-ae22ee577e1296427b927dda75f49560f6256c60.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 |
