diff options
author | tjr <tjr@FreeBSD.org> | 2003-06-13 07:13:54 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2003-06-13 07:13:54 +0000 |
commit | 0d7349736cb6030d405e2dcf95ca913369ed8435 (patch) | |
tree | e5e7bb674379aa58ed1a2915a26ea1b769ae848d /lib/libc/locale/frune.c | |
parent | aafc494847b97917d46fce44c7f5fce27242fe82 (diff) | |
download | FreeBSD-src-0d7349736cb6030d405e2dcf95ca913369ed8435.zip FreeBSD-src-0d7349736cb6030d405e2dcf95ca913369ed8435.tar.gz |
Mark the following interfaces as OBSOLETE_IN_6:
fgetrune(), fputrune(), fungetrune(), mbrune(), mbrrune(), mbmb(),
setinvalidrune(), UTF2 encoding method.
These have been marked as being deprecated in their manual pages since 5.0,
and their use causes a linker warning.
Diffstat (limited to 'lib/libc/locale/frune.c')
-rw-r--r-- | lib/libc/locale/frune.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/locale/frune.c b/lib/libc/locale/frune.c index b36cee6..634ab5f 100644 --- a/lib/libc/locale/frune.c +++ b/lib/libc/locale/frune.c @@ -34,10 +34,13 @@ * SUCH DAMAGE. */ +/* f*rune() are obsolete in FreeBSD 6 -- use ANSI functions instead. */ +#define OBSOLETE_IN_6 + #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)frune.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ -#include <sys/cdefs.h> +#include <sys/param.h> __FBSDID("$FreeBSD$"); #include <limits.h> |