summaryrefslogtreecommitdiffstats
path: root/bin/ed/main.c
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1996-12-14 06:08:03 +0000
committersteve <steve@FreeBSD.org>1996-12-14 06:08:03 +0000
commitc5d0f9cb3928db35413db774a96dc2a8eb85b141 (patch)
tree2f12bbee87f3b5e7477f863c11ba6545497513ad /bin/ed/main.c
parent0aef04187c65f5b7c84d848d3becef7ee602a9d9 (diff)
downloadFreeBSD-src-c5d0f9cb3928db35413db774a96dc2a8eb85b141.zip
FreeBSD-src-c5d0f9cb3928db35413db774a96dc2a8eb85b141.tar.gz
-Wall cleaning.
Diffstat (limited to 'bin/ed/main.c')
-rw-r--r--bin/ed/main.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/ed/main.c b/bin/ed/main.c
index ae71308..d67eee6 100644
--- a/bin/ed/main.c
+++ b/bin/ed/main.c
@@ -25,17 +25,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: main.c,v 1.5 1995/05/30 00:06:47 rgrimes Exp $
+ * $Id: main.c,v 1.6 1996/08/11 16:48:11 ache Exp $
*/
#ifndef lint
-char *copyright =
+static char * const copyright =
"@(#) Copyright (c) 1993 Andrew Moore, Talke Studio. \n\
All rights reserved.\n";
#endif /* not lint */
#ifndef lint
-static char *rcsid = "@(#)main.c,v 1.1 1994/02/01 00:34:42 alm Exp";
+static char * const rcsid = "@(#)main.c,v 1.1 1994/02/01 00:34:42 alm Exp";
#endif /* not lint */
/*
@@ -112,6 +112,11 @@ main(argc, argv)
{
int c, n;
long status = 0;
+#if __GNUC__
+ /* Avoid longjmp clobbering */
+ (void) &argc;
+ (void) &argv;
+#endif
(void)setlocale(LC_ALL, "");
OpenPOWER on IntegriCloud