linux - pointer to __u32 in a header file -


i need pass pointer so

extern int si4709_dev_chan_get(__u32 *); 

but gcc complaints missing brackets.

si4709_dev.h:130: error: expected ‘)’ before ‘*’ token 

any ideas on can do?

-earlence

maybe need include header contains typedef __u32, <asm/types.h> or <sys/types.h>.

in anycase shouldn't portable, should rely on more portable uint32_t should standard c99 conform implementations (and should in stdint.h.


Comments