Everybody does know about the cdecl utility, right?
bob@falsetto:~$ cdecl
void *foo(void);
declare foo as function that expects (void) returning pointer to void;
void (*foo)(void);
declare foo as pointer to function that expects (void) returning void;
void foo(void);
declare foo as function that expects (void) returning void;
^C
It's available as a package for most Un*x and Linux distributions...
Bob
_______________________________________________
Simh mailing list
[email protected]
http://mailman.trailing-edge.com/mailman/listinfo/simh