~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/korr.h

  • Committer: Stewart Smith
  • Date: 2009-10-19 06:36:10 UTC
  • mto: This revision was merged to the branch mainline in revision 1192.
  • Revision ID: stewart@flamingspork.com-20091019063610-cbkbnb9rc7bxk449
remove unused ushortget() macro from korr.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
 
202
202
#ifdef WORDS_BIGENDIAN
203
203
 
204
 
#define ushortget(V,M)  do { V = (uint16_t) (((uint16_t) ((unsigned char) (M)[1]))+\
205
 
                                 ((uint16_t) ((uint16_t) (M)[0]) << 8)); } while(0)
206
204
#define shortget(V,M)   do { V = (short) (((short) ((unsigned char) (M)[1]))+\
207
205
                                 ((short) ((short) (M)[0]) << 8)); } while(0)
208
206
#define longget(V,M)    do { int32_t def_temp;\
227
225
 
228
226
#else
229
227
 
230
 
#define ushortget(V,M)  do { V = uint2korr(M); } while(0)
231
228
#define shortget(V,M)   do { V = sint2korr(M); } while(0)
232
229
#define longget(V,M)    do { V = sint4korr(M); } while(0)
233
230
#define shortstore(T,V) int2store(T,V)