pass lint.

This commit is contained in:
christos 2024-01-02 19:27:26 +00:00
parent d8f36fec0f
commit 53e64a7779
3 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: gdtoa.c,v 1.9 2023/04/01 23:44:11 dholland Exp $ */
/* $NetBSD: gdtoa.c,v 1.10 2024/01/02 19:27:26 christos Exp $ */
/****************************************************************
@ -372,7 +372,7 @@ gdtoa
ds = 1.;
if ( (jj1 = -k) !=0) {
dval(&d) *= tens[jj1 & 0xf];
for(j = jj1 >> 4; j; j >>= 1, i++)
for(j = (unsigned int)jj1 >> 4; j; j >>= 1, i++)
if (j & 1) {
ieps++;
dval(&d) *= bigtens[i];

View File

@ -1,4 +1,4 @@
/* $NetBSD: signal.c,v 1.14 2016/06/03 23:57:37 christos Exp $ */
/* $NetBSD: signal.c,v 1.15 2024/01/02 19:27:26 christos Exp $ */
/*
* Copyright (c) 1985, 1989, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)signal.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: signal.c,v 1.14 2016/06/03 23:57:37 christos Exp $");
__RCSID("$NetBSD: signal.c,v 1.15 2024/01/02 19:27:26 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -48,6 +48,7 @@ __RCSID("$NetBSD: signal.c,v 1.14 2016/06/03 23:57:37 christos Exp $");
__weak_alias(signal,_signal)
#endif
extern sigset_t __sigintr;
sigset_t __sigintr; /* shared with siginterrupt */
sig_t

View File

@ -1,4 +1,4 @@
/* $NetBSD: _env.c,v 1.14 2023/07/18 11:44:32 riastradh Exp $ */
/* $NetBSD: _env.c,v 1.15 2024/01/02 19:27:26 christos Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: _env.c,v 1.14 2023/07/18 11:44:32 riastradh Exp $");
__RCSID("$NetBSD: _env.c,v 1.15 2024/01/02 19:27:26 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@ -88,7 +88,7 @@ static rwlock_t env_lock = RWLOCK_INITIALIZER;
#endif
/* Compatibility function. */
char *__findenv(const char *name, int *offsetp);
extern char *__findenv(const char *name, int *offsetp);
__warn_references(__findenv,
"warning: __findenv is an internal obsolete function.")