Sun Jan 29 02:07:44 2017 UTC ()
fix args


(christos)
diff -r1.15 -r1.16 src/common/include/prop/prop_array.h

cvs diff -r1.15 -r1.16 src/common/include/prop/prop_array.h (expand / switch to unified diff)

--- src/common/include/prop/prop_array.h 2017/01/29 00:16:19 1.15
+++ src/common/include/prop/prop_array.h 2017/01/29 02:07:44 1.16
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: prop_array.h,v 1.15 2017/01/29 00:16:19 christos Exp $ */ 1/* $NetBSD: prop_array.h,v 1.16 2017/01/29 02:07:44 christos Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 2006, 2009 The NetBSD Foundation, Inc. 4 * Copyright (c) 2006, 2009 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Jason R. Thorpe. 8 * by Jason R. Thorpe.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -69,27 +69,28 @@ prop_array_t prop_array_internalize_from @@ -69,27 +69,28 @@ prop_array_t prop_array_internalize_from
69struct plistref; 69struct plistref;
70 70
71#if !defined(_KERNEL) && !defined(_STANDALONE) 71#if !defined(_KERNEL) && !defined(_STANDALONE)
72bool prop_array_externalize_to_pref(prop_array_t, struct plistref *); 72bool prop_array_externalize_to_pref(prop_array_t, struct plistref *);
73bool prop_array_internalize_from_pref(const struct plistref *, 73bool prop_array_internalize_from_pref(const struct plistref *,
74 prop_array_t *); 74 prop_array_t *);
75int prop_array_send_ioctl(prop_array_t, int, unsigned long); 75int prop_array_send_ioctl(prop_array_t, int, unsigned long);
76int prop_array_recv_ioctl(int, unsigned long, prop_array_t *); 76int prop_array_recv_ioctl(int, unsigned long, prop_array_t *);
77int prop_array_send_syscall(prop_array_t, struct plistref *); 77int prop_array_send_syscall(prop_array_t, struct plistref *);
78int prop_array_recv_syscall(const struct plistref *, 78int prop_array_recv_syscall(const struct plistref *,
79 prop_array_t *); 79 prop_array_t *);
80#elif defined(_KERNEL) 80#elif defined(_KERNEL)
81int prop_array_copyin(const struct plistref *, prop_array_t *); 81int prop_array_copyin(const struct plistref *, prop_array_t *);
82int prop_array_copyin_size(const struct plistref *, prop_array_t *); 82int prop_array_copyin_size(const struct plistref *, prop_array_t *,
 83 size_t);
83int prop_array_copyout(struct plistref *, prop_array_t); 84int prop_array_copyout(struct plistref *, prop_array_t);
84int prop_array_copyin_ioctl(const struct plistref *, const u_long, 85int prop_array_copyin_ioctl(const struct plistref *, const u_long,
85 prop_array_t *); 86 prop_array_t *);
86int prop_array_copyin_ioctl_size(const struct plistref *, 87int prop_array_copyin_ioctl_size(const struct plistref *,
87 const u_long, prop_array_t *, 88 const u_long, prop_array_t *,
88 size_t); 89 size_t);
89int prop_array_copyout_ioctl(struct plistref *, const u_long, 90int prop_array_copyout_ioctl(struct plistref *, const u_long,
90 prop_array_t); 91 prop_array_t);
91#endif 92#endif
92#endif /* __NetBSD__ */ 93#endif /* __NetBSD__ */
93 94
94/* 95/*
95 * Utility routines to make it more convenient to work with values 96 * Utility routines to make it more convenient to work with values