diff options
author | steve <steve@FreeBSD.org> | 1996-12-14 06:08:03 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1996-12-14 06:08:03 +0000 |
commit | c5d0f9cb3928db35413db774a96dc2a8eb85b141 (patch) | |
tree | 2f12bbee87f3b5e7477f863c11ba6545497513ad /bin/dd | |
parent | 0aef04187c65f5b7c84d848d3becef7ee602a9d9 (diff) | |
download | FreeBSD-src-c5d0f9cb3928db35413db774a96dc2a8eb85b141.zip FreeBSD-src-c5d0f9cb3928db35413db774a96dc2a8eb85b141.tar.gz |
-Wall cleaning.
Diffstat (limited to 'bin/dd')
-rw-r--r-- | bin/dd/args.c | 4 | ||||
-rw-r--r-- | bin/dd/conv.c | 6 | ||||
-rw-r--r-- | bin/dd/conv_tab.c | 4 | ||||
-rw-r--r-- | bin/dd/dd.c | 8 | ||||
-rw-r--r-- | bin/dd/misc.c | 4 | ||||
-rw-r--r-- | bin/dd/position.c | 4 |
6 files changed, 15 insertions, 15 deletions
diff --git a/bin/dd/args.c b/bin/dd/args.c index b3cc1a8..c13be12 100644 --- a/bin/dd/args.c +++ b/bin/dd/args.c @@ -34,11 +34,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: args.c,v 1.4 1996/11/12 23:08:58 phk Exp $ + * $Id: args.c,v 1.5 1996/11/13 19:59:54 phk Exp $ */ #ifndef lint -static char sccsid[] = "@(#)args.c 8.3 (Berkeley) 4/2/94"; +static char const sccsid[] = "@(#)args.c 8.3 (Berkeley) 4/2/94"; #endif /* not lint */ #include <sys/types.h> diff --git a/bin/dd/conv.c b/bin/dd/conv.c index 09ee56a..dcadadc 100644 --- a/bin/dd/conv.c +++ b/bin/dd/conv.c @@ -34,11 +34,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: conv.c,v 1.4 1996/11/12 23:09:04 phk Exp $ + * $Id: conv.c,v 1.5 1996/11/13 19:59:56 phk Exp $ */ #ifndef lint -static char sccsid[] = "@(#)conv.c 8.3 (Berkeley) 4/2/94"; +static char const sccsid[] = "@(#)conv.c 8.3 (Berkeley) 4/2/94"; #endif /* not lint */ #include <sys/param.h> @@ -129,7 +129,7 @@ block() * Copy records (max cbsz size chunks) into the output buffer. The * translation is done as we copy into the output buffer. */ - ch = 0; /* Help the compiler. */ + ch = 0; for (inp = in.dbp - in.dbcnt, outp = out.dbp; in.dbcnt;) { maxlen = MIN(cbsz, in.dbcnt); if ((t = ctab) != NULL) diff --git a/bin/dd/conv_tab.c b/bin/dd/conv_tab.c index 2fb2bc6..dba3316 100644 --- a/bin/dd/conv_tab.c +++ b/bin/dd/conv_tab.c @@ -34,11 +34,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: conv_tab.c,v 1.2 1994/09/24 02:54:47 davidg Exp $ + * $Id: conv_tab.c,v 1.3 1995/01/17 23:04:28 ache Exp $ */ #ifndef lint -static char sccsid[] = "@(#)conv_tab.c 8.1 (Berkeley) 5/31/93"; +static char const sccsid[] = "@(#)conv_tab.c 8.1 (Berkeley) 5/31/93"; #endif /* not lint */ #include <sys/types.h> diff --git a/bin/dd/dd.c b/bin/dd/dd.c index a86c130..cccb360 100644 --- a/bin/dd/dd.c +++ b/bin/dd/dd.c @@ -34,17 +34,17 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: dd.c,v 1.6 1996/11/12 23:09:09 phk Exp $ + * $Id: dd.c,v 1.7 1996/11/13 19:59:58 phk Exp $ */ #ifndef lint -static char copyright[] = +static char const copyright[] = "@(#) Copyright (c) 1991, 1993, 1994\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)dd.c 8.5 (Berkeley) 4/2/94"; +static char const sccsid[] = "@(#)dd.c 8.5 (Berkeley) 4/2/94"; #endif /* not lint */ #include <sys/param.h> @@ -169,7 +169,7 @@ setup() * Truncate the output file; ignore errors because it fails on some * kinds of output files, tapes, for example. */ - if (ddflags & (C_OF | C_SEEK | C_NOTRUNC) == (C_OF | C_SEEK)) + if ((ddflags & (C_OF | C_SEEK | C_NOTRUNC)) == (C_OF | C_SEEK)) (void)ftruncate(out.fd, (off_t)out.offset * out.dbsz); /* diff --git a/bin/dd/misc.c b/bin/dd/misc.c index 9b577ef..f1865ed 100644 --- a/bin/dd/misc.c +++ b/bin/dd/misc.c @@ -34,11 +34,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: misc.c,v 1.3 1996/11/12 23:09:15 phk Exp $ + * $Id: misc.c,v 1.4 1996/11/13 20:00:03 phk Exp $ */ #ifndef lint -static char sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94"; +static char const sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94"; #endif /* not lint */ #include <sys/types.h> diff --git a/bin/dd/position.c b/bin/dd/position.c index c501022..b317cdc 100644 --- a/bin/dd/position.c +++ b/bin/dd/position.c @@ -34,11 +34,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: position.c,v 1.2 1994/09/24 02:55:03 davidg Exp $ */ #ifndef lint -static char sccsid[] = "@(#)position.c 8.3 (Berkeley) 4/2/94"; +static char const sccsid[] = "@(#)position.c 8.3 (Berkeley) 4/2/94"; #endif /* not lint */ #include <sys/types.h> |