diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-10-07 18:36:59 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-10-07 18:36:59 +0000 |
commit | 83b25a5ec24c5c9849d0ac4658be9aa01d91b055 (patch) | |
tree | 2f0b93627453e46eb769b6e49813a4e705c5275a /usr.bin | |
parent | 7a319b2ba0bc99a92dfe02a224db2c9c67626fda (diff) |
merge from ragge's repo:
Add __inline__ as gcc-compatible keyword.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/pcc/ccom/gcc_compat.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/pcc/ccom/gcc_compat.c b/usr.bin/pcc/ccom/gcc_compat.c index 9761d814927..f898f072eef 100644 --- a/usr.bin/pcc/ccom/gcc_compat.c +++ b/usr.bin/pcc/ccom/gcc_compat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gcc_compat.c,v 1.1 2007/10/07 17:58:51 otto Exp $ */ +/* $OpenBSD: gcc_compat.c,v 1.2 2007/10/07 18:36:58 otto Exp $ */ /* * Copyright (c) 2004 Anders Magnusson (ragge@ludd.luth.se). * All rights reserved. @@ -40,11 +40,16 @@ static struct kw { char *name, *ptr; int rv; } kw[] = { +/* + * Do NOT change the order of these entries unless you know + * what you're doing! + */ { "__asm", NULL, C_ASM }, { "__signed", NULL, 0 }, { "__inline", NULL, C_FUNSPEC }, { "__const", NULL, 0 }, { "__asm__", NULL, C_ASM }, + { "__inline__", NULL, C_FUNSPEC }, { NULL, NULL, 0 }, }; |