prefix unvis functions with rk_, and prototypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19336 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -82,12 +82,17 @@ __warn_references(unvis,
|
|||||||
|
|
||||||
#define isoctal(c) (((u_char)(c)) >= '0' && ((u_char)(c)) <= '7')
|
#define isoctal(c) (((u_char)(c)) >= '0' && ((u_char)(c)) <= '7')
|
||||||
|
|
||||||
|
int ROKEN_LIB_FUNCTION
|
||||||
|
rk_strunvis (char *, const char *);
|
||||||
|
int ROKEN_LIB_FUNCTION
|
||||||
|
rk_unvis (char *, int, int *, int);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* unvis - decode characters previously encoded by vis
|
* unvis - decode characters previously encoded by vis
|
||||||
*/
|
*/
|
||||||
#ifndef HAVE_UNVIS
|
#ifndef HAVE_UNVIS
|
||||||
int ROKEN_LIB_FUNCTION
|
int ROKEN_LIB_FUNCTION
|
||||||
unvis(char *cp, int c, int *astate, int flag)
|
rk_unvis(char *cp, int c, int *astate, int flag)
|
||||||
{
|
{
|
||||||
|
|
||||||
_DIAGASSERT(cp != NULL);
|
_DIAGASSERT(cp != NULL);
|
||||||
@@ -251,7 +256,7 @@ unvis(char *cp, int c, int *astate, int flag)
|
|||||||
|
|
||||||
#ifndef HAVE_STRUNVIS
|
#ifndef HAVE_STRUNVIS
|
||||||
int ROKEN_LIB_FUNCTION
|
int ROKEN_LIB_FUNCTION
|
||||||
strunvis(char *dst, const char *src)
|
rk_strunvis(char *dst, const char *src)
|
||||||
{
|
{
|
||||||
char c;
|
char c;
|
||||||
char *start = dst;
|
char *start = dst;
|
||||||
|
Reference in New Issue
Block a user