Re: Writable sys_call_table (was: Re: [uClinux-dev] [PATCH] m68k: Merge mmu and non-mmu versions of sys_call_table)

Andreas Schwab
2011-04-19T11:54:25Z

Finn Thain <fthain@telegraphics.com.au> writes:

> Wouldn't that require const void * const sys_call_table[] ?

No, the right signature would be void (*const sys_call_table[])(void)
since this is an array of function pointers.

Andreas.

--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."