[lib][syscall] Forward declare structs used by syscalls.

stubgen.py will scan the syscall arguments for struct types and declare
these types before declaring the stubs. This will allow the generated
header file to be included without needing to include every struct
definition for every syscall first.

To make this work, the syscall table needs to contain actual struct
types rather than typedefs.

Also fix the header file included by the generated stubs - it should not
depend on the parameters passed to stubgen.

Bug: 110159511
Change-Id: I4a3cb62651cde75c823ed4d65fc4335cc42537aa
2 files changed
tree: c464839ff7289f2d3622bf4635b6c527ed624852
  1. app/
  2. include/
  3. lib/
  4. make/
  5. platform/
  6. target/
  7. AUTHORS
  8. LICENSE