On Apr 24, 2020, at 7:37 PM, Charles Anthony <charles.unix.pro@gmail.com> wrote:



On Fri, Apr 24, 2020 at 7:00 PM Adam Thornton <athornton@gmail.com> wrote:
This doesn’t like the function pointer.

$ cc -c choparg.c
choparg.c:11: Call of non-function

Perhaps:

    (*fcn)(arg);


We have a winner!

Also, Kartik, dunno where it is on the net, but if you install a v7 system, /usr/src/cmd/c

Adam