aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-03-06 07:25:13 +1000
committerGravatar axel <axel@liljencrantz.se>2006-03-06 07:25:13 +1000
commitc20b8982bc416019a36e1bd742e65da279e35652 (patch)
tree80c1ccc5ebfb5d08a5ea86792b4c06d778601554
parent15bb8f712d880fc2facdbc0d984ecd61b31c4c5d (diff)
Always define prototypes in fallback.h, so that if the prototypes are missing in the libc headers, things will still work
darcs-hash:20060305212513-ac50b-11820bbcc4193d8588246848161909baf3726edf.gz
-rw-r--r--fallback.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/fallback.h b/fallback.h
index b22cc48a..2d8f727b 100644
--- a/fallback.h
+++ b/fallback.h
@@ -24,8 +24,6 @@ int tputs(const char *str, int affcnt, int (*putc)(tputs_arg_t));
the prototype to appear.
*/
-#if !HAVE_FWPRINTF
-
/**
Print formated string. Some operating systems (Like NetBSD) do not
have wide string formating functions. Therefore we implement our
@@ -81,10 +79,6 @@ int vfwprintf( FILE *f, const wchar_t *filter, va_list va );
*/
int vswprintf( wchar_t *out, size_t n, const wchar_t *filter, va_list va );
-#endif
-
-#ifndef HAVE_FGETWC
-
/**
Fallback implementation of fgetwc
*/
@@ -95,10 +89,6 @@ wint_t fgetwc(FILE *stream);
*/
wint_t getwc(FILE *stream);
-#endif
-
-#ifndef HAVE_FPUTWC
-
/**
Fallback implementation of fputwc
*/
@@ -108,15 +98,11 @@ wint_t fputwc(wchar_t wc, FILE *stream);
*/
wint_t putwc(wchar_t wc, FILE *stream);
-#endif
-
-#ifndef HAVE_WCSTOK
/**
Fallback implementation of wcstok. Uses code borrowed from glibc.
*/
wchar_t *wcstok(wchar_t *wcs, const wchar_t *delim, wchar_t **ptr);
-#endif
/**
Return the number of columns used by a character. This is a libc