stackleak: add declarations for global functions