Print this page
make: unifdef SUN5_0 (defined)
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/make/include/vroot/args.h
+++ new/usr/src/cmd/make/include/vroot/args.h
1 1 /*
2 2 * CDDL HEADER START
3 3 *
4 4 * The contents of this file are subject to the terms of the
5 5 * Common Development and Distribution License (the "License").
6 6 * You may not use this file except in compliance with the License.
7 7 *
8 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 * or http://www.opensolaris.org/os/licensing.
10 10 * See the License for the specific language governing permissions
11 11 * and limitations under the License.
12 12 *
13 13 * When distributing Covered Code, include this CDDL HEADER in each
14 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 * If applicable, add the following below this CDDL HEADER, with the
16 16 * fields enclosed by brackets "[]" replaced with your own identifying
17 17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 18 *
19 19 * CDDL HEADER END
20 20 */
21 21 /*
22 22 * Copyright 1999 Sun Microsystems, Inc. All rights reserved.
23 23 * Use is subject to license terms.
24 24 */
25 25
26 26
27 27 #ifndef _ARGS_H_
28 28 #define _ARGS_H_
29 29
30 30 #include <sys/syscall.h>
31 31 #include <errno.h>
32 32 #include <sys/time.h>
33 33 #include <sys/param.h>
34 34 #include <stdio.h>
35 35 #include <fcntl.h>
36 36 #include <sys/types.h>
37 37 #include <sys/stat.h>
38 38 #include <sys/file.h>
39 39
40 40 typedef enum { rw_read, rw_write} rwt, *rwpt;
41 41
42 42 extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw);
43 43
44 44 union Args {
45 45 struct { int mode;} access;
↓ open down ↓ |
45 lines elided |
↑ open up ↑ |
46 46 struct { int mode;} chmod;
47 47 struct { int user; int group;} chown;
48 48 struct { int mode;} creat;
49 49 struct { char **argv; char **environ;} execve;
50 50 struct { struct stat *buffer;} lstat;
51 51 struct { int mode;} mkdir;
52 52 struct { char *name; int mode;} mount;
53 53 struct { int flags; int mode;} open;
54 54 struct { char *buffer; int buffer_size;} readlink;
55 55 struct { struct stat *buffer;} stat;
56 -#ifndef SUN5_0
57 - struct { struct statfs *buffer;} statfs;
58 -#endif
59 56 struct { int length;} truncate;
60 57 struct { struct timeval *time;} utimes;
61 58 };
62 59
63 60 extern union Args vroot_args;
64 61 extern int vroot_result;
65 62
66 63 #endif
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX