aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 3ab1d6b46..c96546109 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1773,6 +1773,11 @@ extern struct globals *const ptr_to_globals;
1773 (*(struct globals**)&ptr_to_globals) = (void*)(x); \ 1773 (*(struct globals**)&ptr_to_globals) = (void*)(x); \
1774 barrier(); \ 1774 barrier(); \
1775} while (0) 1775} while (0)
1776#define FREE_PTR_TO_GLOBALS() do { \
1777 if (ENABLE_FEATURE_CLEAN_UP) { \
1778 free(ptr_to_globals); \
1779 } \
1780} while (0)
1776 1781
1777/* You can change LIBBB_DEFAULT_LOGIN_SHELL, but don't use it, 1782/* You can change LIBBB_DEFAULT_LOGIN_SHELL, but don't use it,
1778 * use bb_default_login_shell and following defines. 1783 * use bb_default_login_shell and following defines.