X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/18c831dcd0ae4d660c70ccac69d27ed2a97851be..a89dcc03c98d7659c53f30a4f0544fe2b424b458:/sys/mdup.c diff --git a/sys/mdup.c b/sys/mdup.c index caf48ab..ee7816a 100644 --- a/sys/mdup.c +++ b/sys/mdup.c @@ -7,19 +7,22 @@ /*----- Licensing notice --------------------------------------------------* * - * 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 file is part of the mLib utilities library. * - * This program is distributed in the hope that it will be useful, + * mLib is free software; you can redistribute it and/or modify + * it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * mLib 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. + * GNU Library 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-1307, USA. + * You should have received a copy of the GNU Library General Public + * License along with mLib; if not, write to the Free + * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA. */ /*----- Header files ------------------------------------------------------*/ @@ -130,10 +133,12 @@ enum { #include #include +#include "macros.h" + #define D(x) x -static void dump(mdup_fdinfo *v, size_t n, mdup_fdinfo *dhead, - const char *fmt, ...) +static void PRINTF_LIKE(4, 5) IGNORABLE + dump(mdup_fdinfo *v, size_t n, mdup_fdinfo *dhead, const char *fmt, ...) { int i; mdup_fdinfo *f, *g;