aboutsummaryrefslogtreecommitdiff
path: root/fatfs/inode.c
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-03-18 23:18:11 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-04-03 00:22:08 +0200
commit0209b2c932994e9ca55d39d98a83ea02aacd1332 (patch)
treef8778cca656943ee36193b49a7727557ba82319b /fatfs/inode.c
parent6f3d68bc8b46bdc7b0f5f43918744d99746672a2 (diff)
downloadhurd-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 'fatfs/inode.c')
-rw-r--r--fatfs/inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fatfs/inode.c b/fatfs/inode.c
index e2838af8..cb1ca423 100644
--- a/fatfs/inode.c
+++ b/fatfs/inode.c
@@ -409,7 +409,7 @@ diskfs_node_reload (struct node *node)
/* Write all active disknodes into the ext2_inode pager. */
void
-write_all_disknodes ()
+write_all_disknodes (void)
{
error_t write_one_disknode (struct node *node)
{
@@ -426,7 +426,7 @@ write_all_disknodes ()
void
-refresh_node_stats ()
+refresh_node_stats (void)
{
error_t refresh_one_node_stat (struct node *node)
{
@@ -485,7 +485,7 @@ diskfs_get_translator (struct node *node, char **namep, u_int *namelen)
}
void
-diskfs_shutdown_soft_ports ()
+diskfs_shutdown_soft_ports (void)
{
/* Should initiate termination of internally held pager ports
(the only things that should be soft) XXX */