Skip to content

Commit

Permalink
Delint.
Browse files Browse the repository at this point in the history
Remove trailing ; from uses of __weak_alias().  The macro inserts this if
needed.
  • Loading branch information
mycroft committed Jan 22, 2000
1 parent 096e64b commit 41eee8d
Show file tree
Hide file tree
Showing 216 changed files with 860 additions and 860 deletions.
6 changes: 3 additions & 3 deletions lib/libc/db/db/db.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: db.c,v 1.11 1998/12/09 12:42:48 christos Exp $ */
/* $NetBSD: db.c,v 1.12 2000/01/22 22:19:07 mycroft Exp $ */

/*-
* Copyright (c) 1991, 1993
Expand Down Expand Up @@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)db.c 8.4 (Berkeley) 2/21/94";
#else
__RCSID("$NetBSD: db.c,v 1.11 1998/12/09 12:42:48 christos Exp $");
__RCSID("$NetBSD: db.c,v 1.12 2000/01/22 22:19:07 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand All @@ -54,7 +54,7 @@ __RCSID("$NetBSD: db.c,v 1.11 1998/12/09 12:42:48 christos Exp $");
static int __dberr __P((void));

#ifdef __weak_alias
__weak_alias(dbopen,_dbopen);
__weak_alias(dbopen,_dbopen)
#endif

DB *
Expand Down
24 changes: 12 additions & 12 deletions lib/libc/db/hash/ndbm.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: ndbm.c,v 1.15 1998/12/09 12:42:50 christos Exp $ */
/* $NetBSD: ndbm.c,v 1.16 2000/01/22 22:19:08 mycroft Exp $ */

/*-
* Copyright (c) 1990, 1993
Expand Down Expand Up @@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)ndbm.c 8.4 (Berkeley) 7/21/94";
#else
__RCSID("$NetBSD: ndbm.c,v 1.15 1998/12/09 12:42:50 christos Exp $");
__RCSID("$NetBSD: ndbm.c,v 1.16 2000/01/22 22:19:08 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand All @@ -59,16 +59,16 @@ __RCSID("$NetBSD: ndbm.c,v 1.15 1998/12/09 12:42:50 christos Exp $");
#include "hash.h"

#ifdef __weak_alias
__weak_alias(dbm_clearerr,_dbm_clearerr);
__weak_alias(dbm_close,_dbm_close);
__weak_alias(dbm_delete,_dbm_delete);
__weak_alias(dbm_dirfno,_dbm_dirfno);
__weak_alias(dbm_error,_dbm_error);
__weak_alias(dbm_fetch,_dbm_fetch);
__weak_alias(dbm_firstkey,_dbm_firstkey);
__weak_alias(dbm_nextkey,_dbm_nextkey);
__weak_alias(dbm_open,_dbm_open);
__weak_alias(dbm_store,_dbm_store);
__weak_alias(dbm_clearerr,_dbm_clearerr)
__weak_alias(dbm_close,_dbm_close)
__weak_alias(dbm_delete,_dbm_delete)
__weak_alias(dbm_dirfno,_dbm_dirfno)
__weak_alias(dbm_error,_dbm_error)
__weak_alias(dbm_fetch,_dbm_fetch)
__weak_alias(dbm_firstkey,_dbm_firstkey)
__weak_alias(dbm_nextkey,_dbm_nextkey)
__weak_alias(dbm_open,_dbm_open)
__weak_alias(dbm_store,_dbm_store)
#endif

/*
Expand Down
18 changes: 9 additions & 9 deletions lib/libc/db/mpool/mpool.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: mpool.c,v 1.11 2000/01/09 19:56:15 scw Exp $ */
/* $NetBSD: mpool.c,v 1.12 2000/01/22 22:19:08 mycroft Exp $ */

/*-
* Copyright (c) 1990, 1993, 1994
Expand Down Expand Up @@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)mpool.c 8.5 (Berkeley) 7/26/94";
#else
__RCSID("$NetBSD: mpool.c,v 1.11 2000/01/09 19:56:15 scw Exp $");
__RCSID("$NetBSD: mpool.c,v 1.12 2000/01/22 22:19:08 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand All @@ -59,13 +59,13 @@ __RCSID("$NetBSD: mpool.c,v 1.11 2000/01/09 19:56:15 scw Exp $");
#include <mpool.h>

#ifdef __weak_alias
__weak_alias(mpool_close,_mpool_close);
__weak_alias(mpool_filter,_mpool_filter);
__weak_alias(mpool_get,_mpool_get);
__weak_alias(mpool_new,_mpool_new);
__weak_alias(mpool_open,_mpool_open);
__weak_alias(mpool_put,_mpool_put);
__weak_alias(mpool_sync,_mpool_sync);
__weak_alias(mpool_close,_mpool_close)
__weak_alias(mpool_filter,_mpool_filter)
__weak_alias(mpool_get,_mpool_get)
__weak_alias(mpool_new,_mpool_new)
__weak_alias(mpool_open,_mpool_open)
__weak_alias(mpool_put,_mpool_put)
__weak_alias(mpool_sync,_mpool_sync)
#endif

static BKT *mpool_bkt __P((MPOOL *));
Expand Down
14 changes: 7 additions & 7 deletions lib/libc/gen/__fts13.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: __fts13.c,v 1.27 1999/09/20 04:38:57 lukem Exp $ */
/* $NetBSD: __fts13.c,v 1.28 2000/01/22 22:19:09 mycroft Exp $ */

/*-
* Copyright (c) 1990, 1993, 1994
Expand Down Expand Up @@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94";
#else
__RCSID("$NetBSD: __fts13.c,v 1.27 1999/09/20 04:38:57 lukem Exp $");
__RCSID("$NetBSD: __fts13.c,v 1.28 2000/01/22 22:19:09 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand All @@ -57,11 +57,11 @@ __RCSID("$NetBSD: __fts13.c,v 1.27 1999/09/20 04:38:57 lukem Exp $");

#ifdef __weak_alias
#ifdef __LIBC12_SOURCE__
__weak_alias(fts_children,_fts_children);
__weak_alias(fts_close,_fts_close);
__weak_alias(fts_open,_fts_open);
__weak_alias(fts_read,_fts_read);
__weak_alias(fts_set,_fts_set);
__weak_alias(fts_children,_fts_children)
__weak_alias(fts_close,_fts_close)
__weak_alias(fts_open,_fts_open)
__weak_alias(fts_read,_fts_read)
__weak_alias(fts_set,_fts_set)
#endif /* __LIBC12_SOURCE__ */
#endif /* __weak_alias */

Expand Down
8 changes: 4 additions & 4 deletions lib/libc/gen/__glob13.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: __glob13.c,v 1.12 1999/09/20 04:38:57 lukem Exp $ */
/* $NetBSD: __glob13.c,v 1.13 2000/01/22 22:19:09 mycroft Exp $ */

/*
* Copyright (c) 1989, 1993
Expand Down Expand Up @@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)glob.c 8.3 (Berkeley) 10/13/93";
#else
__RCSID("$NetBSD: __glob13.c,v 1.12 1999/09/20 04:38:57 lukem Exp $");
__RCSID("$NetBSD: __glob13.c,v 1.13 2000/01/22 22:19:09 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand Down Expand Up @@ -84,8 +84,8 @@ __RCSID("$NetBSD: __glob13.c,v 1.12 1999/09/20 04:38:57 lukem Exp $");

#ifdef __weak_alias
#ifdef __LIBC12_SOURCE__
__weak_alias(glob,_glob);
__weak_alias(globfree,_globfree);
__weak_alias(glob,_glob)
__weak_alias(globfree,_globfree)
#endif /* __LIBC12_SOURCE__ */
#endif /* __weak_alias */

Expand Down
6 changes: 3 additions & 3 deletions lib/libc/gen/alarm.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: alarm.c,v 1.8 1998/11/12 15:36:16 christos Exp $ */
/* $NetBSD: alarm.c,v 1.9 2000/01/22 22:19:09 mycroft Exp $ */

/*
* Copyright (c) 1983, 1993
Expand Down Expand Up @@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)alarm.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: alarm.c,v 1.8 1998/11/12 15:36:16 christos Exp $");
__RCSID("$NetBSD: alarm.c,v 1.9 2000/01/22 22:19:09 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand All @@ -50,7 +50,7 @@ __RCSID("$NetBSD: alarm.c,v 1.8 1998/11/12 15:36:16 christos Exp $");
#include <unistd.h>

#ifdef __weak_alias
__weak_alias(alarm,_alarm);
__weak_alias(alarm,_alarm)
#endif

unsigned int
Expand Down
6 changes: 3 additions & 3 deletions lib/libc/gen/basename.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: basename.c,v 1.1 1997/11/02 16:48:28 kleink Exp $ */
/* $NetBSD: basename.c,v 1.2 2000/01/22 22:19:09 mycroft Exp $ */

/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
Expand Down Expand Up @@ -38,15 +38,15 @@

#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: basename.c,v 1.1 1997/11/02 16:48:28 kleink Exp $");
__RCSID("$NetBSD: basename.c,v 1.2 2000/01/22 22:19:09 mycroft Exp $");
#endif /* !LIBC_SCCS && !lint */

#include "namespace.h"
#include <libgen.h>
#include <string.h>

#ifdef __weak_alias
__weak_alias(basename,_basename);
__weak_alias(basename,_basename)
#endif


Expand Down
6 changes: 3 additions & 3 deletions lib/libc/gen/closedir.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: closedir.c,v 1.9 1999/09/20 04:38:58 lukem Exp $ */
/* $NetBSD: closedir.c,v 1.10 2000/01/22 22:19:09 mycroft Exp $ */

/*
* Copyright (c) 1983, 1993
Expand Down Expand Up @@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)closedir.c 8.1 (Berkeley) 6/10/93";
#else
__RCSID("$NetBSD: closedir.c,v 1.9 1999/09/20 04:38:58 lukem Exp $");
__RCSID("$NetBSD: closedir.c,v 1.10 2000/01/22 22:19:09 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand All @@ -52,7 +52,7 @@ __RCSID("$NetBSD: closedir.c,v 1.9 1999/09/20 04:38:58 lukem Exp $");
#include <unistd.h>

#ifdef __weak_alias
__weak_alias(closedir,_closedir);
__weak_alias(closedir,_closedir)
#endif

/*
Expand Down
6 changes: 3 additions & 3 deletions lib/libc/gen/confstr.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: confstr.c,v 1.9 1998/11/12 15:38:44 christos Exp $ */
/* $NetBSD: confstr.c,v 1.10 2000/01/22 22:19:09 mycroft Exp $ */

/*-
* Copyright (c) 1993
Expand Down Expand Up @@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)confstr.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: confstr.c,v 1.9 1998/11/12 15:38:44 christos Exp $");
__RCSID("$NetBSD: confstr.c,v 1.10 2000/01/22 22:19:09 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand All @@ -53,7 +53,7 @@ __RCSID("$NetBSD: confstr.c,v 1.9 1998/11/12 15:38:44 christos Exp $");
#include <unistd.h>

#ifdef __weak_alias
__weak_alias(confstr,_confstr);
__weak_alias(confstr,_confstr)
#endif

size_t
Expand Down
6 changes: 3 additions & 3 deletions lib/libc/gen/ctermid.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: ctermid.c,v 1.8 1998/07/26 19:30:00 mycroft Exp $ */
/* $NetBSD: ctermid.c,v 1.9 2000/01/22 22:19:09 mycroft Exp $ */

/*-
* Copyright (c) 1990, 1993
Expand Down Expand Up @@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)ctermid.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: ctermid.c,v 1.8 1998/07/26 19:30:00 mycroft Exp $");
__RCSID("$NetBSD: ctermid.c,v 1.9 2000/01/22 22:19:09 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand All @@ -48,7 +48,7 @@ __RCSID("$NetBSD: ctermid.c,v 1.8 1998/07/26 19:30:00 mycroft Exp $");
#include <paths.h>

#ifdef __weak_alias
__weak_alias(ctermid,_ctermid);
__weak_alias(ctermid,_ctermid)
#endif

char *
Expand Down
6 changes: 3 additions & 3 deletions lib/libc/gen/daemon.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: daemon.c,v 1.7 1997/07/21 14:06:51 jtc Exp $ */
/* $NetBSD: daemon.c,v 1.8 2000/01/22 22:19:09 mycroft Exp $ */

/*-
* Copyright (c) 1990, 1993
Expand Down Expand Up @@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)daemon.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: daemon.c,v 1.7 1997/07/21 14:06:51 jtc Exp $");
__RCSID("$NetBSD: daemon.c,v 1.8 2000/01/22 22:19:09 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand All @@ -49,7 +49,7 @@ __RCSID("$NetBSD: daemon.c,v 1.7 1997/07/21 14:06:51 jtc Exp $");
#include <unistd.h>

#ifdef __weak_alias
__weak_alias(daemon,_daemon);
__weak_alias(daemon,_daemon)
#endif

int
Expand Down
6 changes: 3 additions & 3 deletions lib/libc/gen/devname.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: devname.c,v 1.7 1998/02/02 02:41:19 perry Exp $ */
/* $NetBSD: devname.c,v 1.8 2000/01/22 22:19:09 mycroft Exp $ */

/*
* Copyright (c) 1989, 1993
Expand Down Expand Up @@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)devname.c 8.2 (Berkeley) 4/29/95";
#else
__RCSID("$NetBSD: devname.c,v 1.7 1998/02/02 02:41:19 perry Exp $");
__RCSID("$NetBSD: devname.c,v 1.8 2000/01/22 22:19:09 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand All @@ -55,7 +55,7 @@ __RCSID("$NetBSD: devname.c,v 1.7 1998/02/02 02:41:19 perry Exp $");
#include <err.h>

#ifdef __weak_alias
__weak_alias(devname,_devname);
__weak_alias(devname,_devname)
#endif

char *
Expand Down
6 changes: 3 additions & 3 deletions lib/libc/gen/dirname.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: dirname.c,v 1.1 1997/11/02 16:48:29 kleink Exp $ */
/* $NetBSD: dirname.c,v 1.2 2000/01/22 22:19:09 mycroft Exp $ */

/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
Expand Down Expand Up @@ -38,15 +38,15 @@

#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: dirname.c,v 1.1 1997/11/02 16:48:29 kleink Exp $");
__RCSID("$NetBSD: dirname.c,v 1.2 2000/01/22 22:19:09 mycroft Exp $");
#endif /* !LIBC_SCCS && !lint */

#include "namespace.h"
#include <libgen.h>
#include <string.h>

#ifdef __weak_alias
__weak_alias(dirname,_dirname);
__weak_alias(dirname,_dirname)
#endif


Expand Down
6 changes: 3 additions & 3 deletions lib/libc/gen/disklabel.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: disklabel.c,v 1.25 1999/09/20 04:38:58 lukem Exp $ */
/* $NetBSD: disklabel.c,v 1.26 2000/01/22 22:19:09 mycroft Exp $ */

/*
* Copyright (c) 1983, 1987, 1993
Expand Down Expand Up @@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)disklabel.c 8.2 (Berkeley) 5/3/95";
#else
__RCSID("$NetBSD: disklabel.c,v 1.25 1999/09/20 04:38:58 lukem Exp $");
__RCSID("$NetBSD: disklabel.c,v 1.26 2000/01/22 22:19:09 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand All @@ -62,7 +62,7 @@ __RCSID("$NetBSD: disklabel.c,v 1.25 1999/09/20 04:38:58 lukem Exp $");
#include <disktab.h>

#ifdef __weak_alias
__weak_alias(getdiskbyname,_getdiskbyname);
__weak_alias(getdiskbyname,_getdiskbyname)
#endif

#if 0
Expand Down
6 changes: 3 additions & 3 deletions lib/libc/gen/execl.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: execl.c,v 1.6 1998/09/11 21:03:18 kleink Exp $ */
/* $NetBSD: execl.c,v 1.7 2000/01/22 22:19:09 mycroft Exp $ */

/*-
* Copyright (c) 1991, 1993
Expand Down Expand Up @@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)exec.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: execl.c,v 1.6 1998/09/11 21:03:18 kleink Exp $");
__RCSID("$NetBSD: execl.c,v 1.7 2000/01/22 22:19:09 mycroft Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand All @@ -56,7 +56,7 @@ __RCSID("$NetBSD: execl.c,v 1.6 1998/09/11 21:03:18 kleink Exp $");
#endif

#ifdef __weak_alias
__weak_alias(execl,_execl);
__weak_alias(execl,_execl)
#endif


Expand Down
Loading

0 comments on commit 41eee8d

Please sign in to comment.