Skip to content

Commit

Permalink
Merge branch 'nlmills/cleanup' into maint
Browse files Browse the repository at this point in the history
* nlmills/cleanup:
  Remove unused time macros from efile_drv
  • Loading branch information
zhird committed Mar 18, 2015
2 parents e9d1e71 + 0989fd9 commit 727546c
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions erts/emulator/drivers/common/efile_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,23 +264,6 @@ dt_private *get_dt_private(int);



#define GET_TIME(i, b) \
(i).year = get_int32((b) + 0 * 4); \
(i).month = get_int32((b) + 1 * 4); \
(i).day = get_int32((b) + 2 * 4); \
(i).hour = get_int32((b) + 3 * 4); \
(i).minute = get_int32((b) + 4 * 4); \
(i).second = get_int32((b) + 5 * 4)

#define PUT_TIME(i, b) \
put_int32((i).year, (b) + 0 * 4); \
put_int32((i).month, (b) + 1 * 4); \
put_int32((i).day, (b) + 2 * 4); \
put_int32((i).hour, (b) + 3 * 4); \
put_int32((i).minute,(b) + 4 * 4); \
put_int32((i).second,(b) + 5 * 4)


#if ALWAYS_READ_LINE_AHEAD
#define DEFAULT_LINEBUF_SIZE 2048
#else
Expand Down

0 comments on commit 727546c

Please sign in to comment.