Browse Source

fix non-gnu ansi compilers by not using 'inline' but '__inline' instead.

lets tendra build again.
ok deraadt@, pvalchev@, millert@
OPENBSD_3_6
avsm 20 years ago
parent
commit
eed750edd0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/include/ctype.h

+ 2
- 2
src/include/ctype.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: ctype.h,v 1.16 2004/01/15 20:01:27 millert Exp $ */
/* $OpenBSD: ctype.h,v 1.17 2004/04/02 22:37:12 avsm Exp $ */
/* $NetBSD: ctype.h,v 1.14 1994/10/26 00:55:47 cgd Exp $ */
/*
@ -60,7 +60,7 @@ extern const short *_toupper_tab_;
#ifdef __GNUC__
#define __CTYPE_INLINE extern __inline
#else
#define __CTYPE_INLINE static inline
#define __CTYPE_INLINE static __inline
#endif
#if defined(__GNUC__) || defined(_ANSI_LIBRARY) || defined(lint)


Loading…
Cancel
Save