summaryrefslogtreecommitdiff
path: root/Lib/tcl
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2003-09-23 21:24:17 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2003-09-23 21:24:17 +0000
commitc6efb20a3fb61dc87e21e1c7273802466bc3c438 (patch)
tree8e44c4e833098947dc273d6b4f8c072a554c62c5 /Lib/tcl
parenta0cdda2db98f720eb29f7b6df13e94c7e5935561 (diff)
downloadswig-c6efb20a3fb61dc87e21e1c7273802466bc3c438.tar.gz
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/tcl')
-rw-r--r--Lib/tcl/mactkinit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/tcl/mactkinit.c b/Lib/tcl/mactkinit.c
index e728418f4..77b74ac0f 100644
--- a/Lib/tcl/mactkinit.c
+++ b/Lib/tcl/mactkinit.c
@@ -26,7 +26,7 @@ short InstallConsole _ANSI_ARGS_((short fd));
void RemoveConsole _ANSI_ARGS_((void));
long WriteCharsToConsole _ANSI_ARGS_((char *buff, long n));
long ReadCharsFromConsole _ANSI_ARGS_((char *buff, long n));
-extern char * __ttyname _ANSI_ARGS_((long fildes));
+char * __ttyname _ANSI_ARGS_((long fildes));
short SIOUXHandleOneEvent _ANSI_ARGS_((EventRecord *event));
/*
@@ -213,10 +213,10 @@ ReadCharsFromConsole(char *buffer, long n)
extern char *
__ttyname(long fildes)
{
- static char *__devicename = "null device";
+ static char *devicename = "null device";
if (fildes >= 0 && fildes <= 2) {
- return (__devicename);
+ return (devicename);
}
return (0L);