aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-12-08 20:36:28 +0100
committerSverker Eriksson <[email protected]>2015-11-10 16:40:24 +0100
commit01cc99b35c00be86d832693776ee8ed880b59882 (patch)
tree04dcd137a9758f1ae38626f22b3ec7b1f67b24a1 /erts/emulator/sys
parent38ddf72b48377bd6b2fb8c4b6981360ae7d44d79 (diff)
downloadotp-01cc99b35c00be86d832693776ee8ed880b59882.tar.gz
otp-01cc99b35c00be86d832693776ee8ed880b59882.tar.bz2
otp-01cc99b35c00be86d832693776ee8ed880b59882.zip
erts: Make key argument constant for erl_drv_{get|put}env
This should be a harmless and compatible API change.
Diffstat (limited to 'erts/emulator/sys')
-rw-r--r--erts/emulator/sys/win32/erl_win_dyn_driver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/sys/win32/erl_win_dyn_driver.h b/erts/emulator/sys/win32/erl_win_dyn_driver.h
index 5e62320be4..baac7c903e 100644
--- a/erts/emulator/sys/win32/erl_win_dyn_driver.h
+++ b/erts/emulator/sys/win32/erl_win_dyn_driver.h
@@ -145,8 +145,8 @@ WDD_TYPEDEF(ErlDrvTid, erl_drv_thread_self, (void));
WDD_TYPEDEF(int, erl_drv_equal_tids, (ErlDrvTid tid1, ErlDrvTid tid2));
WDD_TYPEDEF(void, erl_drv_thread_exit, (void *resp));
WDD_TYPEDEF(int, erl_drv_thread_join, (ErlDrvTid, void **respp));
-WDD_TYPEDEF(int, erl_drv_putenv, (char *key, char *value));
-WDD_TYPEDEF(int, erl_drv_getenv, (char *key, char *value, size_t *value_size));
+WDD_TYPEDEF(int, erl_drv_putenv, (const char *key, char *value));
+WDD_TYPEDEF(int, erl_drv_getenv, (const char *key, char *value, size_t *value_size));
typedef struct {
WDD_FTYPE(null_func) *null_func;