diff options
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 3c87abcf9..9960448ec 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -214,7 +214,7 @@ extern struct lineedit_statics *BB_GLOBAL_CONST lineedit_ptr_to_statics; | |||
214 | #define delbuf (S.delbuf ) | 214 | #define delbuf (S.delbuf ) |
215 | 215 | ||
216 | #define INIT_S() do { \ | 216 | #define INIT_S() do { \ |
217 | ASSIGN_CONST_PTR(lineedit_ptr_to_statics, xzalloc(sizeof(S))); \ | 217 | XZALLOC_CONST_PTR(&lineedit_ptr_to_statics, sizeof(S)); \ |
218 | } while (0) | 218 | } while (0) |
219 | 219 | ||
220 | static void deinit_S(void) | 220 | static void deinit_S(void) |