~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_sys.h

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
/* Sun Studio does not inject this into main namespace yet */
37
37
#if defined(__cplusplus)
38
38
  using std::FILE;
39
 
#endif 
 
39
#endif
40
40
 
41
41
#define MY_INIT(name);          { my_progname= name; my_init(); }
42
42
 
321
321
#define my_b_tell(info) ((info)->pos_in_file + \
322
322
                         (size_t) (*(info)->current_pos - (info)->request_pos))
323
323
 
324
 
#define my_b_get_buffer_start(info) (info)->request_pos 
 
324
#define my_b_get_buffer_start(info) (info)->request_pos
325
325
#define my_b_get_bytes_in_buffer(info) (char*) (info)->read_end -   \
326
326
  (char*) my_b_get_buffer_start(info)
327
327
#define my_b_get_pos_in_file(info) (info)->pos_in_file
493
493
#define my_init_dynamic_array2(A,B,C,D,E) init_dynamic_array2(A,B,C,D,E)
494
494
#define my_init_dynamic_array2_ci(A,B,C,D,E) init_dynamic_array2(A,B,C,D,E)
495
495
extern bool init_dynamic_array2(DYNAMIC_ARRAY *array,uint32_t element_size,
496
 
                                   void *init_buffer, uint32_t init_alloc, 
 
496
                                   void *init_buffer, uint32_t init_alloc,
497
497
                                   uint32_t alloc_increment);
498
498
/* init_dynamic_array() function is deprecated */
499
499
extern bool init_dynamic_array(DYNAMIC_ARRAY *array,uint32_t element_size,