X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ferror.h;h=1f6817180731df179b766e8e152d11937f0536dd;hb=c3c259f0bef8cfd8d47606475348f088f7b0e120;hp=3d658e28bd6ed6f770d9ac72c47c543011adb704;hpb=36ffc38fe454ae665bc726d78a6f6f6c733515d9;p=gnulib.git diff --git a/lib/error.h b/lib/error.h index 3d658e28b..1f6817180 100644 --- a/lib/error.h +++ b/lib/error.h @@ -1,10 +1,14 @@ -/* error.h -- declaration for error-reporting function - Copyright (C) 1995, 1996 Software Foundation, Inc. +/* Declaration for error-reporting function + Copyright (C) 1995, 1996, 1997, 2000 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 - the Free Software Foundation; either version 2, or (at your option) - any later version. + + NOTE: The canonical source of this file is maintained with the GNU C Library. + Bugs can be reported to bug-glibc@prep.ai.mit.edu. + + 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 the + Free Software Foundation; either version 2, or (at your option) any + later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -13,10 +17,11 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ -#ifndef _error_h_ -#define _error_h_ +#ifndef _ERROR_H +#define _ERROR_H 1 #ifndef __attribute__ /* This feature is available in gcc versions 2.5 and later. */ @@ -31,6 +36,10 @@ # endif #endif +#ifdef __cplusplus +extern "C" { +#endif + #if defined (__STDC__) && __STDC__ /* Print a message with `fprintf (stderr, FORMAT, ...)'; @@ -62,4 +71,8 @@ extern unsigned int error_message_count; variable controls whether this mode is selected or not. */ extern int error_one_per_line; -#endif /* _error_h_ */ +#ifdef __cplusplus +} +#endif + +#endif /* error.h */