summaryrefslogtreecommitdiff
path: root/usr/src/cmd/dfs.cmds
diff options
context:
space:
mode:
authorjmcp <James.McPherson@Sun.COM>2009-04-30 20:04:06 -0700
committerjmcp <James.McPherson@Sun.COM>2009-04-30 20:04:06 -0700
commit71a535e3b24d87fb6be3793380f86bd09f2768ac (patch)
treee602b2114284c42cf64645658f2b18e50d34f5a6 /usr/src/cmd/dfs.cmds
parent9f51456788105f8fa3e4ebf290b4628eb757e65a (diff)
downloadillumos-joyent-71a535e3b24d87fb6be3793380f86bd09f2768ac.tar.gz
backout 6795209/6392640: breaks sparc build
Diffstat (limited to 'usr/src/cmd/dfs.cmds')
-rw-r--r--usr/src/cmd/dfs.cmds/general/general.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/usr/src/cmd/dfs.cmds/general/general.c b/usr/src/cmd/dfs.cmds/general/general.c
index cb84d4d3a7..3b13807dbb 100644
--- a/usr/src/cmd/dfs.cmds/general/general.c
+++ b/usr/src/cmd/dfs.cmds/general/general.c
@@ -2,8 +2,9 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
+ * Common Development and Distribution License, Version 1.0 only
+ * (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.
@@ -23,10 +24,12 @@
/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+#pragma ident "%Z%%M% %I% %E% SMI"
+
/*
* generic interface to dfs commands.
*
@@ -54,7 +57,6 @@
/* cmd name, -o, opts, (char *)0 terminator */
static char *getfs();
-static int invalid();
void perror();
int
@@ -62,6 +64,7 @@ main(argc, argv)
int argc;
char **argv;
{
+ static int invalid();
extern char *optarg;
extern int optind;
FILE *dfp; /* fp for dfs list */