PSX: updated internal PSXSS system calls table generator.

svn path=/trunk/; revision=2840
This commit is contained in:
Emanuele Aliberti 2002-04-10 21:13:30 +00:00
parent b9b1d40823
commit f6c21b1a91

View file

@ -1,4 +1,4 @@
/* $Id: mksystab.c,v 1.1 2002/04/06 16:07:34 ea Exp $ /* $Id: mksystab.c,v 1.2 2002/04/10 21:13:30 ea Exp $
* *
* PROJECT : ReactOS / POSIX+ Subsystem * PROJECT : ReactOS / POSIX+ Subsystem
* DESCRIPTION: Build the system calls table for * DESCRIPTION: Build the system calls table for
@ -8,7 +8,7 @@
* DATE : 2001-05-26 * DATE : 2001-05-26
* REVISIONS * REVISIONS
* 2002-03-19 EA added stub file generation * 2002-03-19 EA added stub file generation
* 2002-04-02 EA added to the CVS repository * 2002-04-06 EA added to the CVS repository
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -249,6 +249,7 @@ METHOD_TYPE psx_include_iter (int self, PPARSER_CONTEXT context)
METHOD_TYPE psx_include_epilog (int self, PPARSER_CONTEXT context) METHOD_TYPE psx_include_epilog (int self, PPARSER_CONTEXT context)
{ {
fprintf (mf[self].fp, "#define PSX_SYSCALL_APIPORT_COUNT %d\n", context->id ++);
fprintf (mf[self].fp, "#endif /* ndef _PSX_SYSCALL_H */\n"); fprintf (mf[self].fp, "#endif /* ndef _PSX_SYSCALL_H */\n");
fputs ("/* EOF */", mf[self].fp); fputs ("/* EOF */", mf[self].fp);
return METHOD_SUCCESS; return METHOD_SUCCESS;