The branch main has been updated by arichardson: URL: https://cgit.FreeBSD.org/src/commit/?id=7954ad9f22b3b453c4cea49dc663e7b17631a209
commit 7954ad9f22b3b453c4cea49dc663e7b17631a209 Author: Alex Richardson <arichard...@freebsd.org> AuthorDate: 2021-01-19 11:35:15 +0000 Commit: Alex Richardson <arichard...@freebsd.org> CommitDate: 2021-01-19 21:23:25 +0000 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. --- contrib/diff/config.h | 10 +++++----- 1 file 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. */ _______________________________________________ dev-commits-src-main@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"