diff options
author | Sverker Eriksson <[email protected]> | 2018-01-29 19:10:20 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-01-29 19:10:20 +0100 |
commit | 6a09d85b1762b87d0dc6cf503fcb20080237339b (patch) | |
tree | 006b690bba2967bc013836948af9a389dc0adef7 /erts/emulator/beam/global.h | |
parent | 17cdb9694b97854ced0ae257f97a9713d0dcefae (diff) | |
download | otp-6a09d85b1762b87d0dc6cf503fcb20080237339b.tar.gz otp-6a09d85b1762b87d0dc6cf503fcb20080237339b.tar.bz2 otp-6a09d85b1762b87d0dc6cf503fcb20080237339b.zip |
More ERTS_RESTRICT usage
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r-- | erts/emulator/beam/global.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index 86e2c351af..132ef878c3 100644 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -1066,7 +1066,7 @@ Eterm copy_struct_x(Eterm, Uint, Eterm**, ErlOffHeap*, Uint*, erts_literal_area_ #define copy_struct_litopt(Obj,Sz,HPP,OH,LitArea) \ copy_struct_x(Obj,Sz,HPP,OH,NULL,LitArea) -Eterm copy_shallow(Eterm*, Uint, Eterm**, ErlOffHeap*); +Eterm copy_shallow(Eterm* ERTS_RESTRICT, Uint, Eterm**, ErlOffHeap*); void erts_move_multi_frags(Eterm** hpp, ErlOffHeap*, ErlHeapFragment* first, Eterm* refs, unsigned nrefs, int literals); |