diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-03-18 23:18:11 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-04-03 00:22:08 +0200 |
commit | 0209b2c932994e9ca55d39d98a83ea02aacd1332 (patch) | |
tree | f8778cca656943ee36193b49a7727557ba82319b /nfsd/cache.c | |
parent | 6f3d68bc8b46bdc7b0f5f43918744d99746672a2 (diff) | |
download | hurd-0209b2c932994e9ca55d39d98a83ea02aacd1332.tar.gz hurd-0209b2c932994e9ca55d39d98a83ea02aacd1332.tar.bz2 hurd-0209b2c932994e9ca55d39d98a83ea02aacd1332.zip |
Modernize code by removing use of old style definitions.
Also add -Werror=old-style-definition to enforce new code.
Message-Id: <ZBZ+8xf7GHy2RT/h@jupiter.tail36e24.ts.net>
Diffstat (limited to 'nfsd/cache.c')
-rw-r--r-- | nfsd/cache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nfsd/cache.c b/nfsd/cache.c index d3ee7659..cd5524af 100644 --- a/nfsd/cache.c +++ b/nfsd/cache.c @@ -209,7 +209,7 @@ cred_ref (struct idspec *i) } void -scan_creds () +scan_creds (void) { int n; int newleast = mapped_time->seconds; @@ -337,7 +337,7 @@ cache_handle_rele (struct cache_handle *c) } void -scan_fhs () +scan_fhs (void) { int n; int newleast = mapped_time->seconds; @@ -534,7 +534,7 @@ release_cached_reply (struct cached_reply *cr) } void -scan_replies () +scan_replies (void) { int n; int newleast = mapped_time->seconds; |