From 472223337db256b3411a0309dc5aedd8b929df02 Mon Sep 17 00:00:00 2001 From: Michał Łyszczek Date: Sun, 9 Jun 2019 20:22:38 +0200 Subject: include/embedlog.h.in: add back EL_FILE_SYNC_* for compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Although EL_FILE_SYNC_* has been renamed to EL_FSYNC_*, it is wise to leave old enum for backward compatibility. It doesn't make code any bigger. Signed-off-by: Michał Łyszczek no_buildbot --- include/embedlog.h.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/embedlog.h.in b/include/embedlog.h.in index 773138a..bd91415 100644 --- a/include/embedlog.h.in +++ b/include/embedlog.h.in @@ -120,6 +120,8 @@ enum el_option EL_FROTATE_SIZE = 15, EL_FSYNC_EVERY = 16, EL_FSYNC_LEVEL = 17, + EL_FILE_SYNC_EVERY= 16, /* deprecated */ + EL_FILE_SYNC_LEVEL= 17, /* deprecated */ EL_THREAD_SAFE = 18, -- cgit v1.2.3-8-gadcc