RE: [PATCH] env: add prototypes for weak function