Change "deprecated" in link-time warnings about various rune functions
to "obsolete".
This commit is contained in:
parent
a8cee78a82
commit
0950eb6cba
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user