linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Dickson <steved@redhat.com>
To: Libtirpc-devel Mailing List <libtirpc-devel@lists.sourceforge.net>
Cc: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: [PATCH 00/12] Convert old-style function definitions into modern-style definitions
Date: Thu, 21 Aug 2025 07:15:11 -0400	[thread overview]
Message-ID: <20250821111524.1379577-1-steved@redhat.com> (raw)

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


             reply	other threads:[~2025-08-21 11:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-21 11:15 Steve Dickson [this message]
2025-08-21 11:15 ` [PATCH 01/12] Convert old-style function definitions into modern-style definitions Steve Dickson
2025-08-21 11:15 ` [PATCH 02/12] " Steve Dickson
2025-08-21 11:15 ` [PATCH 03/12] " Steve Dickson
2025-08-21 11:15 ` [PATCH 04/12] " Steve Dickson
2025-08-21 11:15 ` [PATCH 05/12] " Steve Dickson
2025-08-21 11:15 ` [PATCH 06/12] " Steve Dickson
2025-08-21 11:15 ` [PATCH 07/12] " Steve Dickson
2025-08-21 11:15 ` [PATCH 08/12] " Steve Dickson
2025-08-21 11:15 ` [PATCH 09/12] " Steve Dickson
2025-08-21 11:15 ` [PATCH 10/12] " Steve Dickson
2025-08-21 11:15 ` [PATCH 11/12] " Steve Dickson
2025-08-21 11:15 ` [PATCH 12/12] " Steve Dickson
  -- strict thread matches above, loose matches on Subject: below --
2025-08-18 15:08 [PATCH 00/12] " Steve Dickson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250821111524.1379577-1-steved@redhat.com \
    --to=steved@redhat.com \
    --cc=libtirpc-devel@lists.sourceforge.net \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).