diff options
author | Roland McGrath <roland@gnu.org> | 1992-05-12 05:08:54 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1992-05-12 05:08:54 +0000 |
commit | e358e8296a4c95b1b6450073ec15862b1be9d6a0 (patch) | |
tree | 9842e3487c92b3ad34eb53288e25cdbeecd0a4b1 /assert | |
parent | 04efca734da7eadc17b9f8a4641c6a159d17d55f (diff) |
Formerly assert.h.~4~
Diffstat (limited to 'assert')
-rw-r--r-- | assert/assert.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/assert/assert.h b/assert/assert.h index 2f610a9682..a54d074345 100644 --- a/assert/assert.h +++ b/assert/assert.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -31,6 +31,10 @@ Cambridge, MA 02139, USA. */ #define _ASSERT_H 1 #include <features.h> +#ifdef __cplusplus +extern "C" { +#endif + /* void assert(int expression); If NDEBUG is defined, do nothing. If not, and EXPRESSION is zero, print an error message and abort. */ @@ -62,3 +66,7 @@ extern int EXFUN(__assert_fail, (CONST char *__assertion, __assert_fail(__assert_quotearg(expr), __FILE__, __LINE__))) #endif /* NDEBUG. */ + +#ifdef __cplusplus +} +#endif |