summaryrefslogtreecommitdiffstats
path: root/bin/sh/bltin
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-09-01 10:22:36 +0000
committerpeter <peter@FreeBSD.org>1996-09-01 10:22:36 +0000
commit5195be912eb257c05a0c97e561e72f01af2583ff (patch)
treee47ab3981b495c675a987dd1e943d1f4c823f314 /bin/sh/bltin
parent2fc7d7d1fa299368ccdddede67b31695266698bd (diff)
downloadFreeBSD-src-5195be912eb257c05a0c97e561e72f01af2583ff.zip
FreeBSD-src-5195be912eb257c05a0c97e561e72f01af2583ff.tar.gz
Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is a
merge of parallel duplicate work by Steve Price and myself. :-] There are some changes to the build that are my fault... mkinit.c was trying (poorly) to duplicate some of the work that make(1) is designed to do. The Makefile hackery is my fault too, the depend list was incomplete because of some explicit OBJS+= entries, so mkdep wasn't picking up their source file #includes. This closes a pile of /bin/sh PR's, but not all of them.. Submitted by: Steve Price <steve@bonsai.hiwaay.net>, peter
Diffstat (limited to 'bin/sh/bltin')
-rw-r--r--bin/sh/bltin/bltin.h4
-rw-r--r--bin/sh/bltin/echo.16
-rw-r--r--bin/sh/bltin/echo.c10
3 files changed, 12 insertions, 8 deletions
diff --git a/bin/sh/bltin/bltin.h b/bin/sh/bltin/bltin.h
index e543e9b..7745dac 100644
--- a/bin/sh/bltin/bltin.h
+++ b/bin/sh/bltin/bltin.h
@@ -33,8 +33,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)bltin.h 8.1 (Berkeley) 5/31/93
- * $Id: bltin.h,v 1.3 1995/12/10 15:37:44 joerg Exp $
+ * @(#)bltin.h 8.2 (Berkeley) 5/4/95
+ * $Id: bltin.h,v 1.4 1995/12/14 23:19:36 bde Exp $
*/
/*
diff --git a/bin/sh/bltin/echo.1 b/bin/sh/bltin/echo.1
index 435b851..39a5aa1 100644
--- a/bin/sh/bltin/echo.1
+++ b/bin/sh/bltin/echo.1
@@ -33,10 +33,10 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)echo.1 8.1 (Berkeley) 5/31/93
-.\" $Id$
+.\" @(#)echo.1 8.2 (Berkeley) 5/4/95
+.\" $Id: echo.1,v 1.2 1994/09/24 02:58:27 davidg Exp $
.\"
-.Dd May 31, 1993
+.Dd May 4, 1995
.Dt ECHO 1
.Os BSD 4.4
.Sh NAME
diff --git a/bin/sh/bltin/echo.c b/bin/sh/bltin/echo.c
index f9f1928..7c6e0f1 100644
--- a/bin/sh/bltin/echo.c
+++ b/bin/sh/bltin/echo.c
@@ -33,8 +33,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)echo.c 8.1 (Berkeley) 5/31/93
- * $Id: echo.c,v 1.2 1994/09/24 02:58:29 davidg Exp $
+ * @(#)echo.c 8.2 (Berkeley) 5/4/95
+ * $Id: echo.c,v 1.3 1995/08/23 05:31:06 pst Exp $
*/
/*
@@ -50,7 +50,11 @@
/* #define eflag 1 */
-main(argc, argv) char **argv; {
+int
+main(argc, argv)
+ int argc;
+ char **argv;
+{
register char **ap;
register char *p;
register char c;
OpenPOWER on IntegriCloud