git: 76318a013dd6 - main - libsmdb: Silence -Wstrict-prototype warnings.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 24 Apr 2023 15:54:06 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=76318a013dd68d91f2df8c17f834404a9a89c3ab

commit 76318a013dd68d91f2df8c17f834404a9a89c3ab
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-04-24 15:53:49 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-04-24 15:53:49 +0000

    libsmdb: Silence -Wstrict-prototype warnings.
    
    Presumably upstream will fix this eventually.
    
    Reviewed by:    emaste
    Differential Revision:  https://reviews.freebsd.org/D39725
---
 lib/libsmdb/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libsmdb/Makefile b/lib/libsmdb/Makefile
index 5dff6b572d1d..9af91b4e8986 100644
--- a/lib/libsmdb/Makefile
+++ b/lib/libsmdb/Makefile
@@ -25,4 +25,4 @@ sm_os.h: ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h .NOMETA
 
 .include <bsd.lib.mk>
 
-CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE}
+CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE} ${NO_WSTRICT_PROTOTYPES}