diff options
author | Björn Gustavsson <[email protected]> | 2016-01-27 12:39:05 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-01-27 16:33:24 +0100 |
commit | 480239fc11d72cf3434e61b541ffec9cb98c2db3 (patch) | |
tree | 58e4de13e618ffdf55b236800c48e60e957c9106 /lib/kernel/test/code_SUITE.erl | |
parent | b42d79a563993bacafcd3e4be24f324406e65c26 (diff) | |
download | otp-480239fc11d72cf3434e61b541ffec9cb98c2db3.tar.gz otp-480239fc11d72cf3434e61b541ffec9cb98c2db3.tar.bz2 otp-480239fc11d72cf3434e61b541ffec9cb98c2db3.zip |
code_server: Don't export internal system_* functions
There is no reason to export system_continue/3 and system_terminate/4
from code_server. Servers that use proc_lib and 'sys' to handle system
message do need those functions exported, but code_server contains a
modified copy of the system message handling code from 'sys', and that
code only make local calls to system_continue/3 and
system_terminate/4.
Diffstat (limited to 'lib/kernel/test/code_SUITE.erl')
-rw-r--r-- | lib/kernel/test/code_SUITE.erl | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/kernel/test/code_SUITE.erl b/lib/kernel/test/code_SUITE.erl index 772a1e6b14..10c1278062 100644 --- a/lib/kernel/test/code_SUITE.erl +++ b/lib/kernel/test/code_SUITE.erl @@ -850,18 +850,7 @@ check_funs({'$M_EXPR','$F_EXPR',1}, {code_server,start_link,1}]) -> 0; check_funs({'$M_EXPR','$F_EXPR',1}, [{lists,filter,2}, - {code_server,try_archive_subdirs,3}, - {code_server,all_archive_subdirs,1}, - {code_server,archive_subdirs,1}, - {code_server,insert_name,3}, - {code_server,replace_name,2}, - {code_server,update,2}, - {code_server,maybe_update,2}, - {code_server,do_add,4}, - {code_server,add_path,4}, - {code_server,handle_call,3}, - {code_server,loop,1}, - {code_server,system_continue,3}]) -> 0; + {code_server,try_archive_subdirs,3}|_]) -> 0; check_funs({'$M_EXPR','$F_EXPR',_}, [{erlang,apply,2}, {erlang,spawn_link,1}, |