define ROKEN_LIB_FUNCTION on all exported functions

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14773 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-04-12 11:29:18 +00:00
parent 9d25af4667
commit 709aa58c74
135 changed files with 632 additions and 443 deletions

View File

@@ -209,7 +209,7 @@ do { \
* pointed to by `extra'
*/
#ifndef HAVE_SVIS
char *
char * ROKEN_LIB_FUNCTION
svis(char *dst, int c, int flag, int nextc, const char *extra)
{
_DIAGASSERT(dst != NULL);
@@ -238,7 +238,7 @@ svis(char *dst, int c, int flag, int nextc, const char *extra)
* This is useful for encoding a block of data.
*/
#ifndef HAVE_STRSVIS
int
int ROKEN_LIB_FUNCTION
strsvis(char *dst, const char *src, int flag, const char *extra)
{
char c;
@@ -257,7 +257,7 @@ strsvis(char *dst, const char *src, int flag, const char *extra)
#ifndef HAVE_STRVISX
int
int ROKEN_LIB_FUNCTION
strsvisx(char *dst, const char *src, size_t len, int flag, const char *extra)
{
char c;
@@ -281,7 +281,7 @@ strsvisx(char *dst, const char *src, size_t len, int flag, const char *extra)
* vis - visually encode characters
*/
#ifndef HAVE_VIS
char *
char * ROKEN_LIB_FUNCTION
vis(char *dst, int c, int flag, int nextc)
{
char extra[MAXEXTRAS];
@@ -307,7 +307,7 @@ vis(char *dst, int c, int flag, int nextc)
* This is useful for encoding a block of data.
*/
#ifndef HAVE_STRVIS
int
int ROKEN_LIB_FUNCTION
strvis(char *dst, const char *src, int flag)
{
char extra[MAXEXTRAS];
@@ -319,7 +319,7 @@ strvis(char *dst, const char *src, int flag)
#ifndef HAVE_STRVISX
int
int ROKEN_LIB_FUNCTION
strvisx(char *dst, const char *src, size_t len, int flag)
{
char extra[MAXEXTRAS];