diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2021-01-19 11:35:15 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2021-01-19 21:23:25 +0000 |
commit | 7954ad9f22b3b453c4cea49dc663e7b17631a209 (patch) | |
tree | 51124e378ca5970efa3941ae08dea9f70d11d48c /contrib/diff | |
parent | 0348c8fcfaa22d4f2bf548ad9c187c09ef90c533 (diff) | |
download | src-7954ad9f22b3b453c4cea49dc663e7b17631a209.tar.gz src-7954ad9f22b3b453c4cea49dc663e7b17631a209.zip |
Fix macro-redefined warning in gnu/diff for fputc_unlocked
While updating config.h to set HAVE_DECL_FPUTC_UNLOCKED to 1 also update
the other macros that are defined in stdio.h.
Diffstat (limited to 'contrib/diff')
-rw-r--r-- | contrib/diff/config.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/diff/config.h b/contrib/diff/config.h index ce405203c2b2..1de273fded16 100644 --- a/contrib/diff/config.h +++ b/contrib/diff/config.h @@ -86,7 +86,7 @@ /* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if you don't. */ -#define HAVE_DECL_FFLUSH_UNLOCKED 0 +#define HAVE_DECL_FFLUSH_UNLOCKED 1 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if you don't. */ @@ -94,19 +94,19 @@ /* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if you don't. */ -#define HAVE_DECL_FPUTC_UNLOCKED 0 +#define HAVE_DECL_FPUTC_UNLOCKED 1 /* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if you don't. */ -#define HAVE_DECL_FPUTS_UNLOCKED 0 +#define HAVE_DECL_FPUTS_UNLOCKED 1 /* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if you don't. */ -#define HAVE_DECL_FREAD_UNLOCKED 0 +#define HAVE_DECL_FREAD_UNLOCKED 1 /* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if you don't. */ -#define HAVE_DECL_FWRITE_UNLOCKED 0 +#define HAVE_DECL_FWRITE_UNLOCKED 1 /* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if you don't. */ |