]> granicus.if.org Git - strace/blobdiff - msghdr.h
Simplify print_lld_from_low_high_val ifdefery
[strace] / msghdr.h
index 9cf9854764348f90478a15fd9cdc40662a9092b4..9e458fec0b37e35b0c06deb3194cd059c56d31ce 100644 (file)
--- a/msghdr.h
+++ b/msghdr.h
@@ -1,5 +1,5 @@
-#ifndef MSGHDR_H_
-# define MSGHDR_H_
+#ifndef STRACE_MSGHDR_H
+#define STRACE_MSGHDR_H
 
 /* For definitions of struct msghdr and struct mmsghdr. */
 # include <sys/socket.h>
@@ -11,4 +11,10 @@ struct mmsghdr {
 };
 # endif
 
-#endif /* MSGHDR_H_ */
+struct tcb;
+
+extern void
+print_struct_msghdr(struct tcb *, const struct msghdr *,
+                   const int *p_user_msg_namelen, kernel_ulong_t data_size);
+
+#endif /* !STRACE_MSGHDR_H */