diff options
author | Peter Pentchev <roam@debian.org> | 2021-12-30 19:40:30 +0200 |
---|---|---|
committer | Peter Pentchev <roam@debian.org> | 2021-12-30 19:40:30 +0200 |
commit | ec558e64f5b6b965c27cb0acee0f42e5c7a4e0e8 (patch) | |
tree | fa08c4a18feff86b2e32f3fcd55e626fb713f5d5 /mixlib/xmix_vm.c | |
parent | 5422fd264e0ad6144af8fd8a59adca44991220a5 (diff) |
New upstream version 1.3.0
Diffstat (limited to 'mixlib/xmix_vm.c')
-rw-r--r-- | mixlib/xmix_vm.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mixlib/xmix_vm.c b/mixlib/xmix_vm.c index 1b8d80a..3223552 100644 --- a/mixlib/xmix_vm.c +++ b/mixlib/xmix_vm.c @@ -1,7 +1,7 @@ /* ---------------------- xmix_vm.c : * Implementation of the functions declared in xmix_vm.h * ------------------------------------------------------------------ - * Copyright (C) 2000, 2003, 2004, 2007, 2010, 2013, 2019 Free Software Foundation, Inc. + * Copyright (C) 2000, 2003, 2004, 2007, 2010, 2013, 2019, 2020 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,14 +24,14 @@ #include "xmix_vm.h" /* auxiliar functions */ -G_INLINE_FUNC mix_address_t +static inline mix_address_t get_M_ (const mix_vm_t *vm, const mix_ins_t *ins); -G_INLINE_FUNC mix_word_t +static inline mix_word_t get_V_ (const mix_vm_t *vm, const mix_ins_t *ins); -G_INLINE_FUNC mix_device_t * +static inline mix_device_t * get_dev_ (mix_vm_t *vm, mix_fspec_t type); -G_INLINE_FUNC mix_address_t +static inline mix_address_t get_M_ (const mix_vm_t *vm, const mix_ins_t *ins) { if ( ins->index == 0 ) @@ -41,13 +41,13 @@ get_M_ (const mix_vm_t *vm, const mix_ins_t *ins) mix_word_to_short_fast (get_rI_ (vm, ins->index))); } -G_INLINE_FUNC mix_word_t +static inline mix_word_t get_V_ (const mix_vm_t *vm, const mix_ins_t *ins) { return mix_word_get_field (ins->fspec, get_cell_ (vm, get_M_ (vm,ins))); } -G_INLINE_FUNC mix_device_t * +static inline mix_device_t * get_dev_ (mix_vm_t *vm, mix_fspec_t type) { if (type >= BD_NO_) return NULL; |