Add a dummy offset to the arrays generated by genassym to avoid ary[0]
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 25 Apr 2009 00:11:10 +0000 (17:11 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 25 Apr 2009 00:11:10 +0000 (17:11 -0700)
commitc4b81afc2638e5b2a17902644721fc0594615287
tree0ffdff680e2aa30e6cfbf34ecd37d480cde754ad
parentafbbe4d03cb42d1a85a0946e237c60d29cd5cf19
Add a dummy offset to the arrays generated by genassym to avoid ary[0]

The dummy offset avoids the generation of dummy arrays of size zero.
This whole code path is a hack, but after a lot of messing around
Alex and I determined that it was easier to hack it then to try to
redo the code due to complications introduced by cross-compiled
environments.

Submitted-by: Alex Hornung <ahornung@gmail.com>
sys/sys/assym.h