~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_sys.h

  • Committer: Stewart Smith
  • Date: 2009-10-08 14:03:37 UTC
  • mto: This revision was merged to the branch mainline in revision 1179.
  • Revision ID: stewart@flamingspork.com-20091008140337-5vtwm3qf0ldm2qbl
make _my_b_write() static to mysys/mf_iocache.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
   ((info)->read_pos++, (int) (unsigned char) (info)->read_pos[-1]) :\
244
244
   _my_b_get(info))
245
245
 
246
 
        /* my_b_write_byte dosn't have any err-check */
247
 
#define my_b_write_byte(info,chr) \
248
 
  (((info)->write_pos < (info)->write_end) ?\
249
 
   ((*(info)->write_pos++)=(chr)) :\
250
 
   (_my_b_write(info,0,0) , ((*(info)->write_pos++)=(chr))))
251
 
 
252
246
#define my_b_fill_cache(info) \
253
247
  (((info)->read_end=(info)->read_pos),(*(info)->read_function)(info,0,0))
254
248