|
From: Andre R. <and...@us...> - 2004-10-23 22:40:25
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6913/Frontier/Common/source Modified Files: OpenTransportNetEvents.c Log Message: Sanitized global includes. Include frontier.h in all source files. Move inclusion of system header files into osincludes.h. Index: OpenTransportNetEvents.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/OpenTransportNetEvents.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** OpenTransportNetEvents.c 17 Oct 2004 12:34:40 -0000 1.2 --- OpenTransportNetEvents.c 23 Oct 2004 22:40:14 -0000 1.3 *************** *** 24,27 **** --- 24,30 ---- ******************************************************************************/ + #include "frontier.h" + #include "standard.h" + #ifdef NeverDefine_For_Reference For reference I am listing the error codes from the windows winsock.h file here *************** *** 269,284 **** }; //tcperrorstrings - #include <ctype.h> - #include <string.h> #define wsprintf sprintf - #ifndef OTDEBUG - #define OTDEBUG 1 - #endif - #define OTUNIXERRORS 1 - #include <OpenTransport.h> - #include <OpenTptInternet.h> - - #include <standard.h> #include "mac.h" #include "error.h" --- 272,277 ---- *************** *** 299,303 **** #include "file.h" ! #if TARGET_CARBON #define OTAssert(name, cond) ((cond) ? ((void) 0) : (DebugStr( __FILE__ ": " #name ": " #cond ))) #endif --- 292,297 ---- #include "file.h" ! ! #ifndef OTAssert #define OTAssert(name, cond) ((cond) ? ((void) 0) : (DebugStr( __FILE__ ": " #name ": " #cond ))) #endif *************** *** 535,539 **** #if (TCPTRACKER == 3) #pragma message ("*********************** TCPTRACKER is ON: Full output to tcpfile.txt ***********************") - #include <stdio.h> static boolean fllogger = true; --- 529,532 ---- *************** *** 605,610 **** #pragma message ("*********************** TCPTRACKER is ON: Error output to tcpfile.txt **********************") - #include <stdio.h> - static boolean fllogger = true; --- 598,601 ---- *************** *** 1573,1577 **** opt.len = sizeof(TOption); opt.level = INET_IP; ! opt.name = IP_REUSEADDR; opt.status = 0; opt.value[0] = 1; --- 1564,1568 ---- opt.len = sizeof(TOption); opt.level = INET_IP; ! opt.name = kIP_REUSEADDR; opt.status = 0; opt.value[0] = 1; *************** *** 3308,3312 **** opt.len = sizeof (TOption); opt.level = INET_IP; ! opt.name = IP_REUSEADDR; opt.status = 0; opt.value[0] = 1; --- 3299,3303 ---- opt.len = sizeof (TOption); opt.level = INET_IP; ! opt.name = kIP_REUSEADDR; opt.status = 0; opt.value[0] = 1; |