diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-03-14 20:43:28 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-03-14 20:43:28 +0000 |
commit | d63c2da552bc89c6748c31af651699b77fc1efe6 (patch) | |
tree | 60b0f22bcb42139330c8c68e425e3539c49904fb /winsup/cygwin/winsup.h | |
parent | 56f19ae0e933794e899fe7833a812c5d96730fcf (diff) | |
download | newlib-d63c2da552bc89c6748c31af651699b77fc1efe6.zip newlib-d63c2da552bc89c6748c31af651699b77fc1efe6.tar.gz newlib-d63c2da552bc89c6748c31af651699b77fc1efe6.tar.bz2 |
* fcntl.cc (fcntl_worker): Protect with a 'myfault'.
* path.cc (normalize_posix_path): Treat X:/ as Win32 path, too.
* smallprint.cc (__wrn): New static function.
(__small_vswprintf): New function to generate WCHAR strings.
(__small_swprintf): Ditto.
* winsup.h (__small_swprintf): Declare.
(__small_vswprintf): Declare.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 7981e54..5d9af09 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -310,6 +310,8 @@ extern bool wsock_started; extern "C" void __api_fatal (const char *, ...) __attribute__ ((noreturn)); extern "C" int __small_sprintf (char *dst, const char *fmt, ...) /*__attribute__ ((regparm (2)))*/; extern "C" int __small_vsprintf (char *dst, const char *fmt, va_list ap) /*__attribute__ ((regparm (3)))*/; +extern "C" int __small_swprintf (PWCHAR dst, const WCHAR *fmt, ...) /*__attribute__ ((regparm (2)))*/; +extern "C" int __small_vswprintf (PWCHAR dst, const WCHAR *fmt, va_list ap) /*__attribute__ ((regparm (3)))*/; extern void multiple_cygwin_problem (const char *, unsigned, unsigned); extern "C" void vklog (int priority, const char *message, va_list ap); |