diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2022-12-25 20:41:46 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-12-27 00:00:50 +0100 |
commit | 84e0fb3f287864eca3a9322ef364b913f6a260bd (patch) | |
tree | 123333bce32a7d57c5112aa0d4c07b12821b6305 /ipc/mach_port.c | |
parent | 63eefc08b5e762937118254ad0b82583cc38a2d2 (diff) | |
download | gnumach-84e0fb3f287864eca3a9322ef364b913f6a260bd.tar.gz gnumach-84e0fb3f287864eca3a9322ef364b913f6a260bd.tar.bz2 gnumach-84e0fb3f287864eca3a9322ef364b913f6a260bd.zip |
Fix some warnings with -Wmissing-prototypes.
Marked some functions as static (private) as needed and added missing
includes.
This also revealed some dead code which was removed.
Note that -Wmissing-prototypes is not enabled here since there is a
bunch more warnings.
Message-Id: <Y6j72lWRL9rsYy4j@mars>
Diffstat (limited to 'ipc/mach_port.c')
-rw-r--r-- | ipc/mach_port.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/mach_port.c b/ipc/mach_port.c index db6e05dc..e5a5e978 100644 --- a/ipc/mach_port.c +++ b/ipc/mach_port.c @@ -69,7 +69,7 @@ * A helper function for mach_port_names. */ -void +static void mach_port_names_helper( ipc_port_timestamp_t timestamp, ipc_entry_t entry, @@ -856,7 +856,7 @@ mach_port_set_seqno( * A helper function for mach_port_get_set_status. */ -void +static void mach_port_gst_helper( ipc_pset_t pset, ipc_port_t port, |