~ubuntu-branches/ubuntu/precise/eglibc/precise

« back to all changes in this revision

Viewing changes to localedata/tests-mbwc/tst_funcs.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-10-04 17:48:26 UTC
  • mfrom: (216.1.23 oneiric)
  • Revision ID: package-import@ubuntu.com-20111004174826-2cyb9ewn3ucymlsx
Tags: 2.13-20ubuntu5
libc6-dev: Don't break the current {gnat,gcj}-4.4-base versons. LP: #853688.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
#define TST_DECL_VARS(_type_)                           \
85
85
        int   loc, rec, err_count = 0;                  \
86
86
        int   warn_count __attribute__ ((unused));      \
87
 
        int   seq_num = 0;                              \
 
87
        int   func_id, seq_num = 0;                     \
88
88
        const char *locale;                             \
89
89
        int   err_exp, ret_flg;                         \
90
90
        int errno_save = 0;                             \
96
96
 
97
97
 
98
98
#define TST_HEAD_LOCALE(ofunc, s_func) \
99
 
  locale = TST_HEAD (ofunc).locale;                                           \
 
99
  func_id = TST_HEAD (ofunc).func_id;                                         \
 
100
  locale  = TST_HEAD (ofunc).locale;                                          \
100
101
  if (setlocale (LC_ALL, locale) == NULL)                                     \
101
102
    {                                                                         \
102
103
      fprintf (stderr, "Warning : can't set locale: %s\nskipping ...\n",      \