From owner-dev-commits-src-main@freebsd.org Mon Jun 7 06:32:10 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 332A4648BD3; Mon, 7 Jun 2021 06:32:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fz3SV10Vjz3n1g; Mon, 7 Jun 2021 06:32:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 00F39120BB; Mon, 7 Jun 2021 06:32:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1576W9rp035370; Mon, 7 Jun 2021 06:32:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1576W931035369; Mon, 7 Jun 2021 06:32:09 GMT (envelope-from git) Date: Mon, 7 Jun 2021 06:32:09 GMT Message-Id: <202106070632.1576W931035369@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Poul-Henning Kamp Subject: git: aaa28628a3e4 - main - fifolog: Rename yyparse() to getdate_yyparse(). MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: phk X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aaa28628a3e4f66d9642eb4b6e6c49b5b61d4dce Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2021 06:32:10 -0000 The branch main has been updated by phk: URL: https://cgit.FreeBSD.org/src/commit/?id=aaa28628a3e4f66d9642eb4b6e6c49b5b61d4dce commit aaa28628a3e4f66d9642eb4b6e6c49b5b61d4dce Author: Poul-Henning Kamp AuthorDate: 2021-06-07 06:30:34 +0000 Commit: Poul-Henning Kamp CommitDate: 2021-06-07 06:31:50 +0000 fifolog: Rename yyparse() to getdate_yyparse(). Remove config file for obsolete static analyzer FlexeLint --- usr.sbin/fifolog/flint.lnt | 55 ------------------------------------------ usr.sbin/fifolog/lib/getdate.y | 2 ++ 2 files changed, 2 insertions(+), 55 deletions(-) diff --git a/usr.sbin/fifolog/flint.lnt b/usr.sbin/fifolog/flint.lnt deleted file mode 100644 index 87e0c86cef07..000000000000 --- a/usr.sbin/fifolog/flint.lnt +++ /dev/null @@ -1,55 +0,0 @@ -// $FreeBSD$ -// FlexeLint file for fifolog tools -// -// -//-passes=3 -//-ffc -// -//// GCC -//-cgnu -//+d__FreeBSD__=7 -//+d__GNUC__=4 -//+d__GNUC_MINOR__=2 -//+d__FreeBSD_cc_version=700003 -//+d__attribute__()= -//-d__builtin_va_list=void* // used by stdarg.h -//// -d__builtin_stdarg_start()=_to_semi // ditto -//// -d__builtin_va_start(a,b)=((void)(b),(a)=0) // ditto -//// -d__builtin_va_end()=_to_semi // ditto -//+rw(__inline) // enable the (non-standard) __inline keyword -//+rw(__inline__) // enable the (non-standard) __inline__ keyword -// -//+d"__unused=/*lint -e{715} -e{818} */" -// -//-e537 // Repeated include file -//-elib(652) // #define of symbol '...' declared previously -//-function(exit,__assert) -//-function(exit,err) -//-function(exit,errx) -//-e716 // while(1) ... -//-e717 // do ... while(0) -// -//// Ignore return values --esym(534, memset) --esym(534, memcpy) --esym(534, strcpy) -//-esym(534, printf) --esym(534, time) --esym(534, fprintf) -//-esym(534, vfprintf) -// -//+libh(fifolog.h) -//+libh(miniobj.h) -//+libh(libfifolog.h) -// -//-e713 // loss of precision sign/unsigned -//-e732 // loss of sign -//-e734 // loss of precision assignment -//-e737 // loss of sign in promotion int->unsigned -//-e573 // sign/unsign mix in divide - --e712 // Loss of precision (___) (___ to ___) --e713 // Loss of precision (___) (___ to ___) --e716 // while(1) ... --e732 // Loss of sign (___) (___ to ___) --e747 // Significant prototype coercion (___) ___ to ___ diff --git a/usr.sbin/fifolog/lib/getdate.y b/usr.sbin/fifolog/lib/getdate.y index 53a515c4d17e..8e63e8112993 100644 --- a/usr.sbin/fifolog/lib/getdate.y +++ b/usr.sbin/fifolog/lib/getdate.y @@ -24,9 +24,11 @@ #include "libfifolog.h" +#define yyparse getdate_yyparse #define yylex getdate_yylex #define yyerror getdate_yyerror +static int yyparse(void); static int yylex(void); static int yyerror(const char *);