bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] libmachdev: No-op fix styling of functions


From: Damien Zammit
Subject: [PATCH 1/3] libmachdev: No-op fix styling of functions
Date: Sun, 27 Feb 2022 09:10:26 +0000

---
 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]