1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-14 07:30:21 +00:00

Favor C99 inline over __inline__. (#337)

This commit is contained in:
Bruce Mitchener 2021-02-09 10:11:31 +07:00 committed by GitHub
parent c19b184820
commit 78943073c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -69,7 +69,7 @@
} \
}
__inline__ static LispPTR
static inline LispPTR
aref_switch(int type, LispPTR tos, LispPTR baseL, int index)
{
LispPTR result;

View File

@ -50,9 +50,7 @@
/* */
/************************************************************************/
/* I consider that there is no case the variable named \GCDISABLED is set to T */
/* #define Make_MDSentry(page,pattern) GETWORD((DLword *)MDStypetbl+(page>>1)) = (DLword)pattern */
static void __inline__ Make_MDSentry(UNSIGNED page, DLword pattern) {
static inline void Make_MDSentry(UNSIGNED page, DLword pattern) {
GETWORD((DLword *)MDStypetbl + (page >> 1)) = (DLword)pattern;
}