From nobody Thu Mar 16 18:57:13 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PcxMZ07cSz3ySt2; Thu, 16 Mar 2023 18:57:14 +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 4PcxMY6fdGz450Z; Thu, 16 Mar 2023 18:57:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678993033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=S0fZ/ekfjtsneufXy2EHDWuPCBX4OkHiEhanD0K50BM=; b=FEI8MCrwJM2dD0sEKTHngAlUuQeIlD2oqU7btUiYE7PALhXlmSZd9k/L7FTLkvAudPhFvD JgX3F0Riv5Ql+ONcog037SF0GZ3VDDgQoCeO9RmhFuQFjuntRP2YTvzCCYbAD+qa7F93ab Y7S/MfYlTkH3GrJMzc1DtYR4pPdFImiSOlsKviREZxqEqcSD8sv9wDzFDcYheOGrBkskCB a9tfSvLrn9KoiqUZWtlOUJJ6joxWGkzJeGnux2nP9uoVkpaXuGAOyxob0Jzx04h8iloz9+ UK0VIMiLFSyMQ5oNSs9l+lEm5PIoNc1V5b79smMGbiGhUo+y4Bd5QjlOoSQhHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678993033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=S0fZ/ekfjtsneufXy2EHDWuPCBX4OkHiEhanD0K50BM=; b=JzWhpYowMGyGnSmg4CetSmMZnB/sITZdvIOjK4K4nDLs23D3p5z2XemC9k2VQ8Cj8wPXt+ qcbIDrnxL8YiEim9IRDKm23XvdseShI8WD/CEZ+Gwg5V1sVj3fYtJ4iKbatlFUzRaimWTK rwcBryNci92L+m4W86BOuDT2LcO+4wHFrAoP3ouoXAiQiU8GEAfEtFRCcA+h9iQBj+vlti DRVTLV4P73E8cHbj6CFxK5BBQZhg/Nw70FvrSbmrH5ndtJDjW9GxJ0z9gcAosYph6VEviO 6jlFUinuRy8KMQTOiLRV9Kdvyuu113/QJl/5fFx5fQnCmfxpe35peoC2rC6drw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678993033; a=rsa-sha256; cv=none; b=J6W6Aqgti3aejclLmM/3KfpOJbRw7eALZTt1J8RGClPUeABj8dvSf7deRaapBKC2+P5tgU DCTrrazPZGN3gs7mmvliKAHbfo98uMIYDlZkRfHzM8y1ttqVsgb6JHMkxi8onVa6QvwepJ bo3XV+DzVltcrJ4WL9Bgvu8p+BCCVxHnWaNrMxccSkucMs7l1yGD5VOhp/hNuQNuNNzADW wiI0kJcDMWOW9n4hEubmc8cw7vIFCzauUV7T9DdXvrVldxEY2B4Mlu7Br2iCsk8cY2Aly/ YOsFvSne0JXn+aq5T0a2bWNNZ2MtwH+o8ZvG5cdEHtG2X17t1H1AI+mz40ylGQ== 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 4PcxMY5j4bzvZ8; Thu, 16 Mar 2023 18:57:13 +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 32GIvDqN036080; Thu, 16 Mar 2023 18:57:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32GIvDiG036079; Thu, 16 Mar 2023 18:57:13 GMT (envelope-from git) Date: Thu, 16 Mar 2023 18:57:13 GMT Message-Id: <202303161857.32GIvDiG036079@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: ba5070ab441f - main - libc/yp: sort out warnings List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ba5070ab441f1ad901c0412f531bd646d0bd0616 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=ba5070ab441f1ad901c0412f531bd646d0bd0616 commit ba5070ab441f1ad901c0412f531bd646d0bd0616 Author: Mateusz Guzik AuthorDate: 2023-03-16 18:56:47 +0000 Commit: Mateusz Guzik CommitDate: 2023-03-16 18:56:47 +0000 libc/yp: sort out warnings .. in least-effort manner Sponsored by: Rubicon Communications, LLC ("Netgate") --- lib/libc/yp/xdryp.c | 2 +- lib/libc/yp/yplib.c | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/libc/yp/xdryp.c b/lib/libc/yp/xdryp.c index aa7c7123a04b..da996276aaf8 100644 --- a/lib/libc/yp/xdryp.c +++ b/lib/libc/yp/xdryp.c @@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$"); #include #include -extern int (*ypresp_allfn)(); +extern int (*ypresp_allfn)(u_long, char *, int, char *, int, void *); extern void *ypresp_data; /* diff --git a/lib/libc/yp/yplib.c b/lib/libc/yp/yplib.c index 92b57c2512db..c6a30bee1d72 100644 --- a/lib/libc/yp/yplib.c +++ b/lib/libc/yp/yplib.c @@ -92,11 +92,7 @@ struct dom_binding { #endif #define MAX_RETRIES 20 -extern bool_t xdr_domainname(), xdr_ypbind_resp(); -extern bool_t xdr_ypreq_key(), xdr_ypresp_val(); -extern bool_t xdr_ypreq_nokey(), xdr_ypresp_key_val(); -extern bool_t xdr_ypresp_all(), xdr_ypresp_all_seq(); -extern bool_t xdr_ypresp_master(); +bool_t xdr_ypresp_all_seq(XDR *xdrs, u_long *objp); int (*ypresp_allfn)(); void *ypresp_data;