~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/base64.c

  • Committer: Monty Taylor
  • Date: 2008-10-16 06:32:30 UTC
  • mto: (511.1.5 codestyle)
  • mto: This revision was merged to the branch mainline in revision 521.
  • Revision ID: monty@inaugust.com-20081016063230-4brxsra0qsmsg84q
Added -Wunused-macros.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include <my_global.h>
17
 
#include <m_string.h>  /* strchr() */
18
 
#include <m_ctype.h>  /* my_isspace() */
19
 
#include <base64.h>
 
16
#include <mystrings/m_string.h>  /* strchr() */
 
17
#include <mystrings/m_ctype.h>  /* my_isspace() */
 
18
#include <mysys/base64.h>
20
19
 
21
20
#ifndef MAIN
22
21
 
109
108
 
110
109
#define SKIP_SPACE(src, i, size)                                \
111
110
{                                                               \
112
 
  while (i < size && my_isspace(&my_charset_latin1, * src))     \
 
111
  while (i < size && my_isspace(&my_charset_utf8_general_ci, * src))     \
113
112
  {                                                             \
114
113
    i++;                                                        \
115
114
    src++;                                                      \