X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=extlib.c;h=2ce734c5023787aa06b53be3f9975f4c506535d4;hp=04692a9cc6df538bb08094ff9f1995b3bc828759;hb=0fa8ebfe1d97b31c7d137d6cd45d480fa544d8a5;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/extlib.c b/extlib.c index 04692a9..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,13 +15,13 @@ #define WHERE #define _EXTLIB_C -#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); } -