Warn when setinvalidrune() is referenced for consistency with the rest
of the rune functions (except sgetrune() and sputrune(), which are really macros).
This commit is contained in:
parent
6e674f682e
commit
2f81b61678
@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <rune.h>
|
||||
|
||||
__warn_references(setinvalidrune, "warning: setinvalidrune() is deprecated. See setinvalidrune(3).");
|
||||
void
|
||||
setinvalidrune(ir)
|
||||
rune_t ir;
|
||||
|
Loading…
Reference in New Issue
Block a user