diff options
Diffstat (limited to 'gmp/scanf/fscanffuns.c')
-rw-r--r-- | gmp/scanf/fscanffuns.c | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/gmp/scanf/fscanffuns.c b/gmp/scanf/fscanffuns.c index 396e9a175f..236aec663f 100644 --- a/gmp/scanf/fscanffuns.c +++ b/gmp/scanf/fscanffuns.c @@ -9,28 +9,17 @@ Copyright 2001 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify -it under the terms of either: - - * the GNU Lesser General Public License as published by the Free - Software Foundation; either version 3 of the License, or (at your - option) any later version. - -or - - * 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. - -or both in parallel, as here. +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 3 of the License, or (at your +option) any later version. The GNU MP Library 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. +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +License for more details. -You should have received copies of the GNU General Public License and the -GNU Lesser General Public License along with the GNU MP Library. If not, -see https://www.gnu.org/licenses/. */ +You should have received a copy of the GNU Lesser General Public License +along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #include <stdio.h> #include "gmp.h" @@ -39,13 +28,13 @@ see https://www.gnu.org/licenses/. */ /* SunOS 4 stdio.h doesn't provide prototypes for these */ #if ! HAVE_DECL_FGETC -int fgetc (FILE *); +int fgetc __GMP_PROTO ((FILE *fp)); #endif #if ! HAVE_DECL_FSCANF -int fscanf (FILE *, const char *, ...); +int fscanf __GMP_PROTO ((FILE *fp, const char *fmt, ...)); #endif #if ! HAVE_DECL_UNGETC -int ungetc (int, FILE *); +int ungetc __GMP_PROTO ((int c, FILE *fp)); #endif |