diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2020-10-18 17:55:37 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2020-10-18 17:55:37 +0100 |
commit | 82b857f78f94d2bc43132d0ecc684600100cbecf (patch) | |
tree | a09576af1dd76328f70d5070394b60abf7458c79 | |
parent | b66baaeceb5c9d666ad8807a6f9fc4567187d50d (diff) | |
download | mdk-82b857f78f94d2bc43132d0ecc684600100cbecf.tar.gz mdk-82b857f78f94d2bc43132d0ecc684600100cbecf.tar.bz2 |
G_INLINE_FUNC deprecated
-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; |