projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
install with -s
[unix-history]
/
usr
/
src
/
usr.bin
/
ftp
/
cmdtab.c
diff --git
a/usr/src/usr.bin/ftp/cmdtab.c
b/usr/src/usr.bin/ftp/cmdtab.c
index
3c2fbe3
..
a072ff3
100644
(file)
--- a/
usr/src/usr.bin/ftp/cmdtab.c
+++ b/
usr/src/usr.bin/ftp/cmdtab.c
@@
-1,6
+1,12
@@
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
#ifndef lint
#ifndef lint
-static char sccsid[] = "@(#)cmdtab.c
4.7
(Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)cmdtab.c
5.1
(Berkeley) %G%";
+#endif
not lint
#include "ftp_var.h"
#include "ftp_var.h"
@@
-109,4
+115,4
@@
struct cmd cmdtab[] = {
{ 0 },
};
{ 0 },
};
-int NCMDS =
sizeof (cmdtab) / sizeof (cmdtab[0])
;
+int NCMDS =
(sizeof (cmdtab) / sizeof (cmdtab[0])) - 1
;