~steve-sk2/mingw-w64/oneiric

« back to all changes in this revision

Viewing changes to mingw-w64-crt/misc/wcrtomb.c

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Kitt
  • Date: 2010-11-18 00:04:46 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101118000446-xe24b423su55onyl
Tags: 1.0+20101003-1
* New maintainer. (Closes: #594371.)
* New upstream snapshot:
  - Includes getopt.h. (Closes: #569914.)
* Build g++ for Win64. (Closes: #600451.)
* Standards-Version 3.9.1 (new packaging).
* Include patch from
  http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64?view=revision&revision=3715
  as suggested by Rafaël Carré.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
}
46
46
 
47
47
size_t
48
 
wcrtomb (char *dst, wchar_t wc, mbstate_t * ps __attribute__ ((__unused__)))
 
48
wcrtomb (char *dst, wchar_t wc, mbstate_t * __UNUSED_PARAM (ps))
49
49
{
50
50
  char byte_bucket [MB_LEN_MAX];
51
51
  char* tmp_dst = dst ? dst : byte_bucket;      
54
54
}
55
55
 
56
56
size_t wcsrtombs (char *dst, const wchar_t **src, size_t len,
57
 
                  mbstate_t * ps __attribute__ ((__unused__)))
 
57
                  mbstate_t * __UNUSED_PARAM (ps))
58
58
{
59
59
  int ret = 0;
60
60
  size_t n = 0;