X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=extlib.c;h=2ce734c5023787aa06b53be3f9975f4c506535d4;hp=2dda7fd8849bf98c68811374d2fe1d18dc79ebc8;hb=4956024f0d540c5dd689444113307fa7f9dd4067;hpb=f404a0ca916be07049af51a3022baaaaab94def6 diff --git a/extlib.c b/extlib.c index 2dda7fd..2ce734c 100644 --- a/extlib.c +++ b/extlib.c @@ -1,23 +1,11 @@ /* + * Copyright notice from original mutt: * Copyright (C) 1999-2000 Thomas Roessler - * - * 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 of the License, 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 MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See the GNU General Public License for more - * details. - * - * 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., 59 Temple Place - Suite 330, - * Boston, MA 02111, USA. - */ + * + * This file is part of mutt-ng, see http://www.muttng.org/. + * It's licensed under the GNU General Public License, + * please see the file GPL in the top level source directory. + */ /* * Some simple dummies, so we can reuse the routines from @@ -27,17 +15,13 @@ #define WHERE #define _EXTLIB_C -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include +#include #include "lib.h" -void (*mutt_error) (const char *, ...) = mutt_nocurses_error; +void (*mutt_error)(const char *, ...) + __attribute__((format(printf, 1, 2))) = mutt_nocurses_error; void mutt_exit (int code) { exit (code); } -