~ubuntu-branches/ubuntu/maverick/hello/maverick

« back to all changes in this revision

Viewing changes to gnulib/lib/error.h

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2009-08-03 23:34:18 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090803233418-e1zshrjd3oqhmrrb
Tags: 2.4-1
* New upstream release. License is now GPLv3 or later.
* Manual is included again, as it's now GFDL without invariant sections.
* Clarified manual: If more than one of the greeting options is specified
  (`-g', `-n', `-t', and their long-named equivalents), whichever comes
  last takes precedence. Closes: #457941.
* Don't pass -isp to dpkg-gencontrol, as it's deprecated. Closes: #508833.
* Changed source URL in copyright file to use http, not ftp.
* Standards-Version: 3.8.2 (no changes for this).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Declaration for error-reporting function
2
 
   Copyright (C) 1995, 1996, 1997, 2003, 2006 Free Software Foundation, Inc.
 
2
   Copyright (C) 1995, 1996, 1997, 2003, 2006, 2008 Free Software Foundation, Inc.
3
3
   This file is part of the GNU C Library.
4
4
 
5
 
   This program is free software; you can redistribute it and/or modify
 
5
   This program is free software: you can redistribute it and/or modify
6
6
   it under the terms of the GNU General Public License as published by
7
 
   the Free Software Foundation; either version 2, or (at your option)
8
 
   any later version.
 
7
   the Free Software Foundation; either version 3 of the License, or
 
8
   (at your option) any later version.
9
9
 
10
10
   This program is distributed in the hope that it will be useful,
11
11
   but WITHOUT ANY WARRANTY; without even the implied warranty of
12
12
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
13
   GNU General Public License for more details.
14
14
 
15
 
   You should have received a copy of the GNU General Public License along
16
 
   with this program; if not, write to the Free Software Foundation,
17
 
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
15
   You should have received a copy of the GNU General Public License
 
16
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
18
17
 
19
18
#ifndef _ERROR_H
20
19
#define _ERROR_H 1
21
20
 
22
21
#ifndef __attribute__
23
22
/* This feature is available in gcc versions 2.5 and later.  */
24
 
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
 
23
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
25
24
#  define __attribute__(Spec) /* empty */
26
25
# endif
27
26
/* The __-protected variants of `format' and `printf' attributes