diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2003-06-13 07:13:54 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2003-06-13 07:13:54 +0000 |
| commit | 77156cb782399bc7450c78ff9fdc6bd8b79afcdc (patch) | |
| tree | e5e7bb674379aa58ed1a2915a26ea1b769ae848d /lib/libc | |
| parent | eac4bdcca45c5d9ed3b70b8feae2bf7167b20fc6 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/locale/frune.c | 5 | ||||
| -rw-r--r-- | lib/libc/locale/mbrune.c | 5 | ||||
| -rw-r--r-- | lib/libc/locale/setinvalidrune.c | 5 | ||||
| -rw-r--r-- | lib/libc/locale/utf2.c | 5 |
4 files changed, 16 insertions, 4 deletions
diff --git a/lib/libc/locale/frune.c b/lib/libc/locale/frune.c index b36cee65498c..634ab5fa41fa 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> diff --git a/lib/libc/locale/mbrune.c b/lib/libc/locale/mbrune.c index b54ee97f114f..8fcf8c17ea06 100644 --- a/lib/libc/locale/mbrune.c +++ b/lib/libc/locale/mbrune.c @@ -34,10 +34,13 @@ * SUCH DAMAGE. */ +/* mb*rune() and mbmb() are obsolete in FreeBSD 6. */ +#define OBSOLETE_IN_6 + #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)mbrune.c 8.1 (Berkeley) 6/27/93"; #endif /* LIBC_SCCS and not lint */ -#include <sys/cdefs.h> +#include <sys/param.h> __FBSDID("$FreeBSD$"); #include <limits.h> diff --git a/lib/libc/locale/setinvalidrune.c b/lib/libc/locale/setinvalidrune.c index eac58b6bc3ad..90fb5f13aacf 100644 --- a/lib/libc/locale/setinvalidrune.c +++ b/lib/libc/locale/setinvalidrune.c @@ -34,7 +34,10 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> +/* setinvalidrune() is obsolete in FreeBSD 6 -- use WEOF instead. */ +#define OBSOLETE_IN_6 + +#include <sys/param.h> __FBSDID("$FreeBSD$"); #include <rune.h> diff --git a/lib/libc/locale/utf2.c b/lib/libc/locale/utf2.c index 592b27ba53e2..fa118e2828d8 100644 --- a/lib/libc/locale/utf2.c +++ b/lib/libc/locale/utf2.c @@ -34,10 +34,13 @@ * SUCH DAMAGE. */ +/* UTF2 is obsolete and will be removed in FreeBSD 6 -- use UTF-8 instead. */ +#define OBSOLETE_IN_6 + #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)utf2.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ -#include <sys/cdefs.h> +#include <sys/param.h> __FBSDID("$FreeBSD$"); #include <rune.h> |
