aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/common/erl_osenv.h
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-08-12 10:00:48 +0200
committerLukas Larsson <[email protected]>2019-08-13 08:09:40 +0200
commitb5ab81f3617bb9cb936beaacadae967d3c9ce541 (patch)
treeb8bbe5e03b7ef696673afc8e9c9cb96eb4f1f797 /erts/emulator/sys/common/erl_osenv.h
parent18e2d852469fc3c3cdf287de5ca1ed4c73c71c4d (diff)
downloadotp-b5ab81f3617bb9cb936beaacadae967d3c9ce541.tar.gz
otp-b5ab81f3617bb9cb936beaacadae967d3c9ce541.tar.bz2
otp-b5ab81f3617bb9cb936beaacadae967d3c9ce541.zip
erts: Restructure include of hash.h to work with inline
erl_child_setup is linked together with hash.o so we need to inline any functions into it when running in debug mode.
Diffstat (limited to 'erts/emulator/sys/common/erl_osenv.h')
-rw-r--r--erts/emulator/sys/common/erl_osenv.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/erts/emulator/sys/common/erl_osenv.h b/erts/emulator/sys/common/erl_osenv.h
index 4777f2148a..f2e96a6af7 100644
--- a/erts/emulator/sys/common/erl_osenv.h
+++ b/erts/emulator/sys/common/erl_osenv.h
@@ -35,16 +35,10 @@
# include "config.h"
#endif
-typedef struct __erts_osenv_data_t erts_osenv_data_t;
-
-typedef struct __erts_osenv_t {
- struct __env_rbtnode_t *tree;
- int variable_count;
- int content_size;
-} erts_osenv_t;
-
#include "sys.h"
+typedef struct __erts_osenv_data_t erts_osenv_data_t;
+
struct __erts_osenv_data_t {
Sint length;
void *data;