Make roken build on windows
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
c4b95f7330
commit
d00f9984a5
@@ -79,16 +79,16 @@ __warn_references(unvis,
|
||||
|
||||
#define isoctal(c) (((u_char)(c)) >= '0' && ((u_char)(c)) <= '7')
|
||||
|
||||
int ROKEN_LIB_FUNCTION
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
rk_strunvis (char *, const char *);
|
||||
int ROKEN_LIB_FUNCTION
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
rk_unvis (char *, int, int *, int);
|
||||
|
||||
/*
|
||||
* unvis - decode characters previously encoded by vis
|
||||
*/
|
||||
|
||||
int ROKEN_LIB_FUNCTION
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
rk_unvis(char *cp, int c, int *astate, int flag)
|
||||
{
|
||||
|
||||
@@ -250,7 +250,7 @@ rk_unvis(char *cp, int c, int *astate, int flag)
|
||||
* Dst is null terminated.
|
||||
*/
|
||||
|
||||
int ROKEN_LIB_FUNCTION
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
rk_strunvis(char *dst, const char *src)
|
||||
{
|
||||
char c;
|
||||
|
Reference in New Issue
Block a user