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@5152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-09-23 21:24:17 +00:00
commit 9a8406dc10

View file

@ -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);