summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-08-21 07:48:06 +0000
committertjr <tjr@FreeBSD.org>2004-08-21 07:48:06 +0000
commit0950eb6cbaaebc285ddda64d4c88053b1645b1ef (patch)
tree0d9df0f2c3b11700c4ddb4d3abf810e2f2a6cca7 /lib
parenta8cee78a82c4753bab318a8e4f51bee66c4f694e (diff)
downloadFreeBSD-src-0950eb6cbaaebc285ddda64d4c88053b1645b1ef.zip
FreeBSD-src-0950eb6cbaaebc285ddda64d4c88053b1645b1ef.tar.gz
Change "deprecated" in link-time warnings about various rune functions
to "obsolete".
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/locale/frune.c6
-rw-r--r--lib/libc/locale/mbrune.c6
-rw-r--r--lib/libc/locale/setinvalidrune.c2
-rw-r--r--lib/libc/locale/setrunelocale.c2
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/locale/frune.c b/lib/libc/locale/frune.c
index 996bf120..06e585b 100644
--- a/lib/libc/locale/frune.c
+++ b/lib/libc/locale/frune.c
@@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <wchar.h>
-__warn_references(fgetrune, "warning: fgetrune() is deprecated. See fgetrune(3).");
+__warn_references(fgetrune, "warning: fgetrune() is obsolete. See fgetrune(3).");
long
fgetrune(fp)
FILE *fp;
@@ -62,7 +62,7 @@ fgetrune(fp)
return ((long)ch);
}
-__warn_references(fungetrune, "warning: fungetrune() is deprecated. See fungetrune(3).");
+__warn_references(fungetrune, "warning: fungetrune() is obsolete. See fungetrune(3).");
int
fungetrune(r, fp)
rune_t r;
@@ -72,7 +72,7 @@ fungetrune(r, fp)
return (ungetwc((wint_t)r, fp) == WEOF ? EOF : 0);
}
-__warn_references(fputrune, "warning: fputrune() is deprecated. See fputrune(3).");
+__warn_references(fputrune, "warning: fputrune() is obsolete. See fputrune(3).");
int
fputrune(r, fp)
rune_t r;
diff --git a/lib/libc/locale/mbrune.c b/lib/libc/locale/mbrune.c
index 8fcf8c1..7f5c923 100644
--- a/lib/libc/locale/mbrune.c
+++ b/lib/libc/locale/mbrune.c
@@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$");
#include <stddef.h>
#include <string.h>
-__warn_references(mbrune, "warning: mbrune() is deprecated. See mbrune(3).");
+__warn_references(mbrune, "warning: mbrune() is obsolete. See mbrune(3).");
char *
mbrune(string, c)
const char *string;
@@ -66,7 +66,7 @@ mbrune(string, c)
return (c == *string ? (char *)string : NULL);
}
-__warn_references(mbrrune, "warning: mbrrune() is deprecated. See mbrrune(3).");
+__warn_references(mbrrune, "warning: mbrrune() is obsolete. See mbrrune(3).");
char *
mbrrune(string, c)
const char *string;
@@ -84,7 +84,7 @@ mbrrune(string, c)
return (c == *string ? (char *)string : (char *)last);
}
-__warn_references(mbmb, "warning: mbmb() is deprecated. See mbmb(3).");
+__warn_references(mbmb, "warning: mbmb() is obsolete. See mbmb(3).");
char *
mbmb(string, pattern)
const char *string;
diff --git a/lib/libc/locale/setinvalidrune.c b/lib/libc/locale/setinvalidrune.c
index 90fb5f1..a61b01a 100644
--- a/lib/libc/locale/setinvalidrune.c
+++ b/lib/libc/locale/setinvalidrune.c
@@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
#include <rune.h>
-__warn_references(setinvalidrune, "warning: setinvalidrune() is deprecated. See setinvalidrune(3).");
+__warn_references(setinvalidrune, "warning: setinvalidrune() is obsolete. See setinvalidrune(3).");
void
setinvalidrune(ir)
rune_t ir;
diff --git a/lib/libc/locale/setrunelocale.c b/lib/libc/locale/setrunelocale.c
index 4c19ff7..15e069f 100644
--- a/lib/libc/locale/setrunelocale.c
+++ b/lib/libc/locale/setrunelocale.c
@@ -65,7 +65,7 @@ extern _RuneLocale *_Read_RuneMagi(FILE *);
static int __setrunelocale(const char *);
-__warn_references(setrunelocale, "warning: setrunelocale() is deprecated. See setrunelocale(3).");
+__warn_references(setrunelocale, "warning: setrunelocale() is obsolete. See setrunelocale(3).");
int
setrunelocale(char *encoding)
{
OpenPOWER on IntegriCloud