Question on the initialization of an interrupt vector in C
gwyn at brl-vld
gwyn at brl-vld
Thu Aug 18 23:10:25 AEST 1983
From: Doug Gwyn (VLD/VMB) <gwyn at brl-vld>
If you want P_ADDR to be the type of a pointer to a function returning
no value, use
typedef void (*P_ADDR)();
The general rule is to put the symbol being declared in its proper context.
Some people like this (I do), others hate it. I suggest we do not start
flames about this declaration style, since it is a pure matter of taste.
More information about the Comp.unix
mailing list