summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-05-01 21:10:42 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-02 07:54:07 +0200
commit42e5d73459400e81dd7c22ff4c226ab3ec728348 (patch)
tree1be175591fe5b95198108b27ef94a94c6e4f91e6 /include
parent31dd30a94a682955c3c9e2f42252b4a07687067a (diff)
Use mig_support.h prototypes instead of duplicating them.
* include/mach/mig_support.h: Drop the ifndef because this file is only used internally to compile gnumach. We export mig_support.h from glibc already. * kern/ipc_mig.c: len should be vm_size_t. * kern/ipc_mig.h: Drop duplicate prototypes. Message-Id: <ZFBjEk07CaQgx9Ru@jupiter.tail36e24.ts.net>
Diffstat (limited to 'include')
-rw-r--r--include/mach/mig_support.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/mach/mig_support.h b/include/mach/mig_support.h
index 0794a5fb..ed871c0f 100644
--- a/include/mach/mig_support.h
+++ b/include/mach/mig_support.h
@@ -52,8 +52,6 @@ extern mach_port_name_t mig_get_reply_port(void);
extern void mig_reply_setup(const mach_msg_header_t *_request,
mach_msg_header_t *reply);
-#ifndef MACH_KERNEL
-extern vm_size_t mig_strncpy(char *_dest, const char *_src, vm_size_t _len);
-#endif
+extern vm_size_t mig_strncpy(char *_dest, const char *_src, vm_size_t _len);
#endif /* not defined(_MACH_MIG_SUPPORT_H_) */