[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hurd-bug
Subject:    [PATCH 1/3] libmachdev: No-op fix styling of functions
From:       Damien Zammit <damien () zamaudio ! com>
Date:       2022-02-27 9:10:26
Message-ID: 20220227091013.33112-2-damien () zamaudio ! com
[Download RAW message or body]

---
 libmachdev/ds_routines.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/libmachdev/ds_routines.c b/libmachdev/ds_routines.c
index 139551f6..e89ceee0 100644
--- a/libmachdev/ds_routines.c
+++ b/libmachdev/ds_routines.c
@@ -302,7 +302,8 @@ machdev_create_device_port (size_t size, void *result)
 			    size, result);
 }

-void machdev_device_init()
+void
+machdev_device_init()
 {
   int i;

@@ -316,7 +317,8 @@ void machdev_device_init()
     }
 }

-void machdev_device_sync()
+void
+machdev_device_sync()
 {
   int i;
   for (i = 0; i < num_emul; i++)
@@ -340,13 +342,15 @@ demuxer (mach_msg_header_t *inp, mach_msg_header_t *outp)
     return FALSE;
 }

-void machdev_register (struct machdev_device_emulation_ops *ops)
+void
+machdev_register (struct machdev_device_emulation_ops *ops)
 {
   assert(num_emul < MAX_NUM_EMULATION-1);
   emulation_list[num_emul++] = ops;
 }

-void * machdev_server(void *arg)
+void *
+machdev_server(void *arg)
 {
   /* Launch.  */
   do
--
2.35.1



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic