summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-03-17 01:01:25 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-03-17 01:01:25 (GMT)
commitdc763386a9f92c39f6573be75aff10c6528003ef (patch)
tree781e4d3c47fd2d77a238f20fb3c5de53a447256b /unix
parent23bd4dbf08b8db5a6d935215247cf203ab0032fe (diff)
downloadtcl-dc763386a9f92c39f6573be75aff10c6528003ef.zip
tcl-dc763386a9f92c39f6573be75aff10c6528003ef.tar.gz
tcl-dc763386a9f92c39f6573be75aff10c6528003ef.tar.bz2
TIP 569 - remove lint comments
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixChan.c1
-rw-r--r--unix/tclUnixFCmd.c4
-rw-r--r--unix/tclUnixPipe.c3
-rw-r--r--unix/tclUnixSock.c5
4 files changed, 2 insertions, 11 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 045aad0..f670349 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -228,7 +228,6 @@ static const Tcl_ChannelType ttyChannelType = {
*----------------------------------------------------------------------
*/
- /* ARGSUSED */
static int
FileBlockModeProc(
void *instanceData, /* File state. */
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c
index bd93ad2..2ea98a0 100644
--- a/unix/tclUnixFCmd.c
+++ b/unix/tclUnixFCmd.c
@@ -134,7 +134,7 @@ enum {
MACOSX_CREATOR_ATTRIBUTE, MACOSX_TYPE_ATTRIBUTE, MACOSX_HIDDEN_ATTRIBUTE,
MACOSX_RSRCLENGTH_ATTRIBUTE,
#endif
- UNIX_INVALID_ATTRIBUTE /* lint - last enum value needs no trailing , */
+ UNIX_INVALID_ATTRIBUTE
};
const char *const tclpFileAttrStrings[] = {
@@ -964,7 +964,7 @@ TraverseUnixTree(
errfile = NULL;
result = TCL_OK;
- targetLen = 0; /* lint. */
+ targetLen = 0;
source = Tcl_DStringValue(sourcePtr);
if (TclOSlstat(source, &statBuf) != 0) { /* INTL: Native. */
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c
index f47e021..681ee64 100644
--- a/unix/tclUnixPipe.c
+++ b/unix/tclUnixPipe.c
@@ -374,7 +374,6 @@ TclpCloseFile(
*---------------------------------------------------------------------------
*/
- /* ARGSUSED */
int
TclpCreateProcess(
Tcl_Interp *interp, /* Interpreter in which to leave errors that
@@ -900,7 +899,6 @@ TclGetAndDetachPids(
*----------------------------------------------------------------------
*/
- /* ARGSUSED */
static int
PipeBlockModeProc(
void *instanceData, /* Pipe state. */
@@ -1249,7 +1247,6 @@ Tcl_WaitPid(
*----------------------------------------------------------------------
*/
- /* ARGSUSED */
int
Tcl_PidObjCmd(
TCL_UNUSED(ClientData),
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c
index 325e361..80de491 100644
--- a/unix/tclUnixSock.c
+++ b/unix/tclUnixSock.c
@@ -382,7 +382,6 @@ TclpFinalizeSockets(void)
* ----------------------------------------------------------------------
*/
- /* ARGSUSED */
static int
TcpBlockModeProc(
void *instanceData, /* Socket state. */
@@ -528,7 +527,6 @@ WaitForConnect(
*----------------------------------------------------------------------
*/
- /* ARGSUSED */
static int
TcpInputProc(
void *instanceData, /* Socket state. */
@@ -621,7 +619,6 @@ TcpOutputProc(
*----------------------------------------------------------------------
*/
- /* ARGSUSED */
static int
TcpCloseProc(
void *instanceData, /* The socket to close. */
@@ -1102,7 +1099,6 @@ TcpWatchProc(
* ----------------------------------------------------------------------
*/
- /* ARGSUSED */
static int
TcpGetHandleProc(
void *instanceData, /* The socket state. */
@@ -1758,7 +1754,6 @@ Tcl_OpenTcpServerEx(
*----------------------------------------------------------------------
*/
- /* ARGSUSED */
static void
TcpAccept(
void *data, /* Callback token. */