From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9DAD7233133 for ; Mon, 18 Aug 2025 15:08:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755529720; cv=none; b=FWGy5QuHspaumXDtx7Oyo1CzyBeAdoOOT9HUQwoWJjwfMLg/cxu6zM23XeH5NSdZYiKU76HOaURdoLiOVMgkHyqFtYFAsys9SiHXjZu70uokH/zlGk/pwjlQVpKbgCVGehCQDtfKVgw6DvFStYzW+rmrRaSuAuJXfe51pNA2YAU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755529720; c=relaxed/simple; bh=ga/vKUanVg5dBxx8Xee0tIlWpfoEkOS/4u+L/O28Q/4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UyM2RMnYCRMGJ8Ozv/ZHB65BW+RFo2qGWJ40SNdmNxsdIGL6xW5QPYYXvRAhmVHfShPUUDVHRGao8KM8a33GVVZnpp3Ds+AArzOzsI8Z0/a92fgwwK+gxBlBa8Bn7NSydQg60+VaY2LOTDjV+pKCJ0wzw4Iv6147wktqS95A+B0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=XX1NtUql; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XX1NtUql" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1755529717; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=iE5KY/4yjIcIu0yghICx/YPOVFhKpfX9E+oT5UA9wdo=; b=XX1NtUqlwRj5wjuUbs7CVKeVKAUp/z0eqtDCODdxWokFTgFlRCPwKvc957wuhMK4uhGSkX +fFd76hu3lnRIwInv5ZDwXOgxLqeWvxQliqmdI/JAoAKIZpYphBfTshKwSMS6JR/z+2Bcq s0fH5K92xm6dMc9iRP/gWfphpyACEx0= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-481-gb8N2ugyMJ6AAghumR2qrg-1; Mon, 18 Aug 2025 11:08:33 -0400 X-MC-Unique: gb8N2ugyMJ6AAghumR2qrg-1 X-Mimecast-MFC-AGG-ID: gb8N2ugyMJ6AAghumR2qrg_1755529713 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1765D19560AB; Mon, 18 Aug 2025 15:08:33 +0000 (UTC) Received: from dobby.home.dicksonnet.net (unknown [10.22.64.4]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 4C2AC30001B5; Mon, 18 Aug 2025 15:08:32 +0000 (UTC) From: Steve Dickson To: Libtirpc-devel Mailing List Cc: Linux NFS Mailing list Subject: [PATCH 00/12] Convert old-style function definitions into modern-style definitions Date: Mon, 18 Aug 2025 11:08:17 -0400 Message-ID: <20250818150829.1044948-1-steved@redhat.com> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 This patch set converts all of the old-style function definitions into modern-style definitions through out the library... basically touching almost every function definition. The conversion was pretty straightforward... The same repetitive changes were make on all the functions and the compiler pointed out any declaration issue that came up. I'm confident the API did not change. I test the changes by doing kernel builds over both secured and unsecured mounts. I also ran my Bakeathon Cthon tool which mounts all versions, simultaneously, and runs cthon test on them... both secured and insecure mounts... for over 48hrs. The one part I didn't test was the NIS support since I didn't have a NIS setup... I'm pretty confident things should work... Again the changes were I'm all straightforward. Reviews are welcome! Steve Dickson (12): Convert old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions Convert old-style function definitions into modern-style definitions src/auth_time.c | 42 +++--- src/auth_unix.c | 29 ++--- src/authunix_prot.c | 4 +- src/bindresvport.c | 4 +- src/clnt_bcast.c | 46 ++++--- src/clnt_dg.c | 59 ++++----- src/clnt_perror.c | 23 +--- src/clnt_raw.c | 46 +++---- src/clnt_simple.c | 19 +-- src/clnt_vc.c | 75 +++++------ src/getnetconfig.c | 24 ++-- src/getnetpath.c | 12 +- src/getpublickey.c | 20 +-- src/getrpcport.c | 8 +- src/key_call.c | 58 ++++----- src/netname.c | 19 ++- src/netnamer.c | 31 ++--- src/pmap_getmaps.c | 3 +- src/pmap_getport.c | 10 +- src/pmap_prot.c | 4 +- src/pmap_prot2.c | 8 +- src/pmap_rmt.c | 31 +++-- src/rpc_callmsg.c | 4 +- src/rpc_generic.c | 31 ++--- src/rpc_prot.c | 36 ++--- src/rpc_soc.c | 310 ++++++++++++++++++++++---------------------- src/rpcb_clnt.c | 154 +++++++++++----------- src/rpcb_prot.c | 48 +++---- src/rpcb_st_xdr.c | 42 +++--- src/rpcdname.c | 3 +- src/rtime.c | 11 +- src/svc.c | 107 +++++++-------- src/svc_auth.c | 14 +- src/svc_auth_unix.c | 12 +- src/svc_dg.c | 75 +++++------ src/svc_generic.c | 32 ++--- src/svc_raw.c | 46 ++++--- src/svc_simple.c | 19 ++- src/svc_vc.c | 111 ++++++++-------- src/xdr.c | 224 ++++++++++++++++---------------- src/xdr_array.c | 26 ++-- src/xdr_float.c | 12 +- src/xdr_mem.c | 74 +++++------ src/xdr_rec.c | 121 ++++++++--------- src/xdr_reference.c | 20 +-- src/xdr_sizeof.c | 30 ++--- src/xdr_stdio.c | 54 ++++---- 47 files changed, 1032 insertions(+), 1159 deletions(-) -- 2.50.1