diff options
author | Scott Rotondo <Scott.Rotondo@Sun.COM> | 2009-05-21 22:03:24 -0700 |
---|---|---|
committer | Scott Rotondo <Scott.Rotondo@Sun.COM> | 2009-05-21 22:03:24 -0700 |
commit | d67944fbe3fa0b31893a7116a09b0718eecf6078 (patch) | |
tree | 89b9d2ec857c47e00acc2668cbdafa2edce45b14 /usr/src/cmd/dfs.cmds | |
parent | 259105bc352a464b4cdf3f424b5575e5e5e3f247 (diff) | |
download | illumos-gate-d67944fbe3fa0b31893a7116a09b0718eecf6078.tar.gz |
6795209 Enable compilation of ON-consolidation with GCC 4.2
6392640 rpcgen -h -T output does not compile with gcc 4.x
--HG--
rename : usr/src/stand/lib/fs/nfs/pathname.h => usr/src/stand/lib/fs/nfs/st_pathname.h
Diffstat (limited to 'usr/src/cmd/dfs.cmds')
-rw-r--r-- | usr/src/cmd/dfs.cmds/general/general.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/usr/src/cmd/dfs.cmds/general/general.c b/usr/src/cmd/dfs.cmds/general/general.c index 3b13807dbb..cb84d4d3a7 100644 --- a/usr/src/cmd/dfs.cmds/general/general.c +++ b/usr/src/cmd/dfs.cmds/general/general.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -24,12 +23,10 @@ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * generic interface to dfs commands. * @@ -57,6 +54,7 @@ /* cmd name, -o, opts, (char *)0 terminator */ static char *getfs(); +static int invalid(); void perror(); int @@ -64,7 +62,6 @@ main(argc, argv) int argc; char **argv; { - static int invalid(); extern char *optarg; extern int optind; FILE *dfp; /* fp for dfs list */ |