Module: wine Branch: master Commit: ca268b199a76525742b7f5acbc1edf056a30e64f URL: http://source.winehq.org/git/wine.git/?a=commit;h=ca268b199a76525742b7f5acbc...
Author: Francois Gouget fgouget@free.fr Date: Tue May 3 00:35:12 2011 +0200
msvcrt: Make printf_arg arg_clbk_positional() and MSVCRT_wcsrtombs_s_l() static.
---
dlls/msvcrt/msvcrt.h | 1 - dlls/msvcrt/wcs.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h index 40d7261..838895a 100644 --- a/dlls/msvcrt/msvcrt.h +++ b/dlls/msvcrt/msvcrt.h @@ -933,7 +933,6 @@ int pf_printf_a(puts_clbk_a, void*, const char*, MSVCRT__locale_t, int pf_printf_w(puts_clbk_w, void*, const MSVCRT_wchar_t*, MSVCRT__locale_t, BOOL, BOOL, args_clbk, void*, __ms_va_list); printf_arg arg_clbk_valist(void*, int, int, __ms_va_list*); -printf_arg arg_clbk_positional(void*, int, int, __ms_va_list*);
#define MSVCRT__OVERFLOW 3 #define MSVCRT__UNDERFLOW 4 diff --git a/dlls/msvcrt/wcs.c b/dlls/msvcrt/wcs.c index 527bcff..2f2c140 100644 --- a/dlls/msvcrt/wcs.c +++ b/dlls/msvcrt/wcs.c @@ -376,7 +376,7 @@ MSVCRT_size_t CDECL MSVCRT_wcsrtombs(char *mbstr, const MSVCRT_wchar_t **wcstr, /********************************************************************* * MSVCRT_wcsrtombs_s_l (INTERNAL) */ -MSVCRT_size_t CDECL MSVCRT_wcsrtombs_s_l(MSVCRT_size_t *ret, char *mbstr, +static MSVCRT_size_t MSVCRT_wcsrtombs_s_l(MSVCRT_size_t *ret, char *mbstr, MSVCRT_size_t size, const MSVCRT_wchar_t **wcstr, MSVCRT_size_t count, MSVCRT__locale_t locale) { @@ -501,7 +501,7 @@ printf_arg arg_clbk_valist(void *ctx, int arg_pos, int type, __ms_va_list *valis /********************************************************************* * arg_clbk_positional (INTERNAL) */ -printf_arg arg_clbk_positional(void *ctx, int pos, int type, __ms_va_list *valist) +static printf_arg arg_clbk_positional(void *ctx, int pos, int type, __ms_va_list *valist) { printf_arg *args = ctx; return args[pos];