diff options
author | Zandra Hird <[email protected]> | 2015-03-18 13:17:01 +0100 |
---|---|---|
committer | Zandra Hird <[email protected]> | 2015-03-18 13:17:01 +0100 |
commit | 727546c80a5aea0cd48b407ed560c85662e381d0 (patch) | |
tree | b9701106b0939c4cd705d0f4cf0ea7bde2751ed7 /erts/emulator | |
parent | e9d1e71bc978260b9888a4caac5dacf1c4c7174e (diff) | |
parent | 0989fd90d50ff95d291971f62ed4dde7f5fba911 (diff) | |
download | otp-727546c80a5aea0cd48b407ed560c85662e381d0.tar.gz otp-727546c80a5aea0cd48b407ed560c85662e381d0.tar.bz2 otp-727546c80a5aea0cd48b407ed560c85662e381d0.zip |
Merge branch 'nlmills/cleanup' into maint
* nlmills/cleanup:
Remove unused time macros from efile_drv
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/drivers/common/efile_drv.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/erts/emulator/drivers/common/efile_drv.c b/erts/emulator/drivers/common/efile_drv.c index b62e9a0306..3b8e7acb6e 100644 --- a/erts/emulator/drivers/common/efile_drv.c +++ b/erts/emulator/drivers/common/efile_drv.c @@ -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 |