-Wall cleaning.

This commit is contained in:
Steve Price 1996-12-14 06:08:03 +00:00
parent 435257408c
commit 78b09ffeaf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20420
41 changed files with 105 additions and 99 deletions

View File

@ -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>

View File

@ -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)

View File

@ -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>

View File

@ -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);
/*

View File

@ -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>

View File

@ -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>

View File

@ -29,18 +29,18 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: domainname.c,v 1.5 1995/03/19 13:28:17 joerg Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1988, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
/*static char sccsid[] = "From: @(#)hostname.c 8.1 (Berkeley) 5/31/93"; */
static const char rcsid[] =
"$Id: domainname.c,v 1.4 1994/09/26 02:14:27 wollman Exp $";
static char const sccsid[] = "From: @(#)hostname.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/param.h>

View File

@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: echo.c,v 1.2 1994/09/24 02:55:18 davidg Exp $
* $Id: echo.c,v 1.3 1995/08/31 17:25:55 jkh Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)echo.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)echo.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <stdio.h>

View File

@ -25,10 +25,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: buf.c,v 1.6 1994/09/24 02:55:22 davidg Exp $
* $Id: buf.c,v 1.7 1995/05/30 00:06:43 rgrimes Exp $
*/
#ifndef lint
static char *rcsid = "@(#)buf.c,v 1.4 1994/02/01 00:34:35 alm Exp";
static char * const rcsid = "@(#)buf.c,v 1.4 1994/02/01 00:34:35 alm Exp";
#endif /* not lint */
#include <sys/file.h>

View File

@ -35,11 +35,11 @@
* SUCH DAMAGE.
*
* from: @(#)bdes.c 5.5 (Berkeley) 6/27/91
* $Id: cbc.c,v 1.5 1995/03/19 13:28:24 joerg Exp $
* $Id: cbc.c,v 1.6 1996/08/11 16:48:11 ache Exp $
*/
#ifndef lint
static char *rcsid = "@(#)cbc.c,v 1.2 1994/02/01 00:34:36 alm Exp";
static char * const rcsid = "@(#)cbc.c,v 1.2 1994/02/01 00:34:36 alm Exp";
#endif /* not lint */
#include <sys/types.h>

View File

@ -25,11 +25,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: glbl.c,v 1.3 1995/03/19 13:28:27 joerg Exp $
* $Id: glbl.c,v 1.4 1995/05/30 00:06:46 rgrimes Exp $
*/
#ifndef lint
static char *rcsid = "@(#)glob.c,v 1.1 1994/02/01 00:34:40 alm Exp";
static char * const rcsid = "@(#)glob.c,v 1.1 1994/02/01 00:34:40 alm Exp";
#endif /* not lint */
#include <sys/ioctl.h>

View File

@ -24,11 +24,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: io.c,v 1.4 1995/03/19 13:28:32 joerg Exp $
* $Id: io.c,v 1.5 1996/05/23 06:36:34 tg Exp $
*/
#ifndef lint
static char *rcsid = "@(#)io.c,v 1.1 1994/02/01 00:34:41 alm Exp";
static char * const rcsid = "@(#)io.c,v 1.1 1994/02/01 00:34:41 alm Exp";
#endif /* not lint */
#include "ed.h"

View File

@ -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, "");

View File

@ -25,11 +25,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: re.c,v 1.9 1995/03/19 13:28:36 joerg Exp $
* $Id: re.c,v 1.10 1995/05/30 00:06:47 rgrimes Exp $
*/
#ifndef lint
static char *rcsid = "@(#)re.c,v 1.6 1994/02/01 00:34:43 alm Exp";
static char * const rcsid = "@(#)re.c,v 1.6 1994/02/01 00:34:43 alm Exp";
#endif /* not lint */
#include "ed.h"

View File

@ -25,11 +25,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: sub.c,v 1.5 1995/03/19 13:28:38 joerg Exp $
* $Id: sub.c,v 1.6 1995/05/30 00:06:48 rgrimes Exp $
*/
#ifndef lint
static char *rcsid = "@(#)sub.c,v 1.1 1994/02/01 00:34:44 alm Exp";
static char * const rcsid = "@(#)sub.c,v 1.1 1994/02/01 00:34:44 alm Exp";
#endif /* not lint */
#include "ed.h"

View File

@ -24,11 +24,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: undo.c,v 1.3 1994/09/24 02:55:32 davidg Exp $
*/
#ifndef lint
static char *rcsid = "@(#)undo.c,v 1.1 1994/02/01 00:34:44 alm Exp";
static char * const rcsid = "@(#)undo.c,v 1.1 1994/02/01 00:34:44 alm Exp";
#endif /* not lint */
#include "ed.h"

View File

@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ln.c,v 1.5 1994/12/06 18:50:44 bde Exp $
* $Id: ln.c,v 1.6 1996/05/24 20:36:16 peter Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1987, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)ln.c 8.2 (Berkeley) 3/31/94";
static char const sccsid[] = "@(#)ln.c 8.2 (Berkeley) 3/31/94";
#endif /* not lint */
#include <sys/param.h>

View File

@ -33,17 +33,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mv.c,v 1.7 1996/02/20 23:27:57 wosch Exp $
* $Id: mv.c,v 1.8 1996/03/01 06:14:13 wosch Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1989, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)mv.c 8.2 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)mv.c 8.2 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/param.h>

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ar_io.c,v 1.3 1995/05/30 00:06:52 rgrimes Exp $
* $Id: ar_io.c,v 1.4 1995/10/23 21:22:56 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)ar_io.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)ar_io.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ar_subs.c,v 1.3 1995/05/30 00:06:52 rgrimes Exp $
* $Id: ar_subs.c,v 1.4 1995/10/23 21:22:58 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)ar_subs.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)ar_subs.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: buf_subs.c,v 1.3 1995/05/30 00:06:53 rgrimes Exp $
* $Id: buf_subs.c,v 1.4 1995/10/23 21:23:00 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)buf_subs.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)buf_subs.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cache.c,v 1.2 1994/09/24 02:56:14 davidg Exp $
* $Id: cache.c,v 1.3 1995/10/23 21:23:02 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)cache.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)cache.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
@ -244,7 +244,7 @@ name_uid(uid, frc)
# ifdef NET2_STAT
(void)sprintf(ptr->name, "%u", uid);
# else
(void)sprintf(ptr->name, "%lu", uid);
(void)sprintf(ptr->name, "%lu", (u_long)uid);
# endif
if (frc == 0)
return("");
@ -321,7 +321,7 @@ name_gid(gid, frc)
# ifdef NET2_STAT
(void)sprintf(ptr->name, "%u", gid);
# else
(void)sprintf(ptr->name, "%lu", gid);
(void)sprintf(ptr->name, "%lu", (u_long)gid);
# endif
if (frc == 0)
return("");

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cpio.c,v 1.3 1995/05/30 00:06:54 rgrimes Exp $
* $Id: cpio.c,v 1.4 1995/10/23 21:23:04 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)cpio.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)cpio.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: file_subs.c,v 1.3 1995/05/30 00:06:56 rgrimes Exp $
* $Id: file_subs.c,v 1.4 1995/10/23 21:23:06 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)file_subs.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)file_subs.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ftree.c,v 1.3 1995/05/30 00:06:57 rgrimes Exp $
* $Id: ftree.c,v 1.4 1995/10/23 21:23:10 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)ftree.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)ftree.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: gen_subs.c,v 1.5 1995/08/07 19:17:36 wollman Exp $
* $Id: gen_subs.c,v 1.6 1995/10/23 21:23:14 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
@ -132,10 +132,11 @@ ls_list(arcn, now)
if ((arcn->type == PAX_CHR) || (arcn->type == PAX_BLK))
# ifdef NET2_STAT
(void)printf("%4u,%4u ", MAJOR(sbp->st_rdev),
MINOR(sbp->st_rdev));
# else
(void)printf("%4lu,%4lu ", (unsigned long)MAJOR(sbp->st_rdev),
(unsigned long)MINOR(sbp->st_rdev));
# endif
MINOR(sbp->st_rdev));
else {
# ifdef NET2_STAT
(void)printf("%9lu ", sbp->st_size);

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: options.c,v 1.3 1995/03/19 13:28:53 joerg Exp $
* $Id: options.c,v 1.4 1995/10/23 21:23:16 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: pat_rep.c,v 1.4 1995/05/30 00:06:59 rgrimes Exp $
* $Id: pat_rep.c,v 1.5 1995/10/23 21:23:17 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)pat_rep.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)pat_rep.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -34,17 +34,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: pax.c,v 1.4 1995/10/23 21:23:19 ache Exp $
* $Id: pax.c,v 1.5 1996/08/11 16:59:27 ache Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1992, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)pax.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)pax.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <stdio.h>

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: sel_subs.c,v 1.2 1994/09/24 02:56:29 davidg Exp $
* $Id: sel_subs.c,v 1.3 1995/10/23 21:23:21 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)sel_subs.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)sel_subs.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: tables.c,v 1.3 1995/05/30 00:07:01 rgrimes Exp $
* $Id: tables.c,v 1.4 1995/10/23 21:23:23 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)tables.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)tables.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: tar.c,v 1.3 1995/05/30 00:07:03 rgrimes Exp $
* $Id: tar.c,v 1.4 1995/10/23 21:23:25 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)tar.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)tar.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -34,11 +34,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: tty_subs.c,v 1.2 1994/09/24 02:56:38 davidg Exp $
* $Id: tty_subs.c,v 1.3 1995/10/23 21:23:27 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)tty_subs.c 8.2 (Berkeley) 4/18/94";
static char const sccsid[] = "@(#)tty_subs.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>

View File

@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: devname.c,v 1.2 1994/09/24 02:56:41 davidg Exp $
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)devname.c 8.1 (Berkeley) 5/31/93";
static char const sccsid[] = "@(#)devname.c 8.1 (Berkeley) 5/31/93";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>

View File

@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: fmt.c,v 1.5 1995/03/09 20:40:17 davidg Exp $
* $Id: fmt.c,v 1.6 1995/10/23 21:03:40 ache Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)fmt.c 8.4 (Berkeley) 4/15/94";
static char const sccsid[] = "@(#)fmt.c 8.4 (Berkeley) 4/15/94";
#endif /* not lint */
#include <sys/param.h>

View File

@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: keyword.c,v 1.8 1995/10/28 20:11:15 phk Exp $
* $Id: keyword.c,v 1.9 1996/07/31 09:27:23 davidg Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)keyword.c 8.5 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)keyword.c 8.5 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/param.h>

View File

@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: nlist.c,v 1.4 1994/10/02 08:33:29 davidg Exp $
* $Id: nlist.c,v 1.5 1994/11/24 13:13:55 davidg Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)nlist.c 8.4 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)nlist.c 8.4 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/param.h>

View File

@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: print.c,v 1.15 1996/06/29 10:25:31 peter Exp $
* $Id: print.c,v 1.16 1996/10/21 07:30:24 peter Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
static char const sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#endif /* not lint */
#include <sys/param.h>
@ -475,7 +475,7 @@ p_rssize(k, ve) /* doesn't account for text */
#ifndef NEWVM
(void)printf("%*d", v->width, pgtok(KI_PROC(k)->p_rssize));
#else
(void)printf("%*ld", v->width, pgtok(KI_EPROC(k)->e_vm.vm_rssize));
(void)printf("%*ld", v->width, (long)pgtok(KI_EPROC(k)->e_vm.vm_rssize));
#endif
}
@ -637,7 +637,7 @@ tsize(k, ve)
#ifndef NEWVM
(void)printf("%*d", v->width, pgtok(KI_EPROC(k)->e_xsize));
#else
(void)printf("%*ld", v->width, pgtok(KI_EPROC(k)->e_vm.vm_tsize));
(void)printf("%*ld", v->width, (long)pgtok(KI_EPROC(k)->e_vm.vm_tsize));
#endif
}

View File

@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ps.c,v 1.13 1996/10/21 07:30:26 peter Exp $
* $Id: ps.c,v 1.14 1996/11/10 06:13:12 hsu Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1990, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/param.h>

View File

@ -30,17 +30,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: rcp.c,v 1.7 1996/02/11 09:01:32 markm Exp $
* $Id: rcp.c,v 1.8 1996/09/20 04:45:59 nate Exp $
*/
#ifndef lint
static char copyright[] =
static char const copyright[] =
"@(#) Copyright (c) 1983, 1990, 1992, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)rcp.c 8.2 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)rcp.c 8.2 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/param.h>

View File

@ -30,11 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: util.c,v 1.3 1995/03/19 13:29:16 joerg Exp $
* $Id: util.c,v 1.4 1995/05/30 00:07:07 rgrimes Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)util.c 8.2 (Berkeley) 4/2/94";
static char const sccsid[] = "@(#)util.c 8.2 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/param.h>