toplevel: remove old prototypes from ancient C bindings