aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/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 /ext2fs/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 'ext2fs/inode.c')
-rw-r--r--ext2fs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index fda3dcba..0bfaa77f 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -487,7 +487,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)
{
@@ -828,7 +828,7 @@ error_t (*diskfs_read_symlink_hook)(struct node *np, char *target) =
/* Called when all hard ports have gone away. */
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 */