From: Tony v. d. H. <to...@us...> - 2004-05-04 10:11:12
|
Update of /cvsroot/ro-oslib/OSLib/!OsLib/Tools/DefMod2/defmod/sources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15067/!OsLib/Tools/DefMod2/defmod/sources Modified Files: cheader.c hdr.c Log Message: reversed out 20040503-2 Index: hdr.c =================================================================== RCS file: /cvsroot/ro-oslib/OSLib/!OsLib/Tools/DefMod2/defmod/sources/hdr.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** hdr.c 3 May 2004 15:45:19 -0000 1.6 --- hdr.c 4 May 2004 10:11:01 -0000 1.7 *************** *** 666,669 **** --- 666,670 ---- goto finish; + /* guard against multiple inclusion */ if ((rc = EmitSSS (file, NULL, "[", ":LNOT: :DEF: ", title, "_Hdr")) < 0) goto finish; *************** *** 677,683 **** --- 678,686 ---- goto finish; + #if 0 /* not everything needs OS.Hdr */ /*Make sure we have Hdr.OS.*/ if ((rc = Emit_Get (file, "OS")) < 0) goto finish; + #endif /*Emit the NEEDS declarations.*/ Index: cheader.c =================================================================== RCS file: /cvsroot/ro-oslib/OSLib/!OsLib/Tools/DefMod2/defmod/sources/cheader.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** cheader.c 3 May 2004 15:45:18 -0000 1.4 --- cheader.c 4 May 2004 10:11:00 -0000 1.5 *************** *** 438,441 **** --- 438,442 ---- goto finish; + #if 0 /* not everything needs os.h */ /*Make sure we have "os.h".*/ if ((rc = fprintf (file, *************** *** 444,447 **** --- 445,449 ---- "#endif\n\n")) < 0) goto finish; + #endif /*Emit the NEEDS declarations.*/ |