Skip to content

Commit

Permalink
remove redundant __RCSID macros
Browse files Browse the repository at this point in the history
the exact same info is already given in the first line of each source
file.

since the __RCSID always follows the inclusion of sys/queue.h, which
we had to change, this prevents clean application of almost any upstream patch,
so that specific hunk has to be removed.
in order not to be forced to manually update the RCSID with the value from
the first line for consistency, it's better to just get rid of it entirely.
  • Loading branch information
rofl0r committed Aug 10, 2016
1 parent bddcf8a commit a7c4bee
Show file tree
Hide file tree
Showing 150 changed files with 0 additions and 499 deletions.
1 change: 0 additions & 1 deletion infocmp/infocmp.c
Expand Up @@ -28,7 +28,6 @@
*/

#include <netbsd_sys/cdefs.h>
__RCSID("$NetBSD: infocmp.c,v 1.11 2016/03/16 21:01:28 christos Exp $");

#include <sys/ioctl.h>

Expand Down
3 changes: 0 additions & 3 deletions libcurses/acs.c
Expand Up @@ -32,9 +32,6 @@
#include "curses.h"
#include "curses_private.h"
#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: acs.c,v 1.20 2012/04/21 12:27:27 roy Exp $");
#endif /* not lint */
#include "term.h"
#include <string.h>
chtype _acs_char[NUM_ACS];
Expand Down
3 changes: 0 additions & 3 deletions libcurses/add_wch.c
Expand Up @@ -35,9 +35,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: add_wch.c,v 1.5 2016/01/07 07:36:35 jdc Exp $");
#endif /* not lint */

#include <stdlib.h>
#include "curses.h"
Expand Down
3 changes: 0 additions & 3 deletions libcurses/add_wchstr.c
Expand Up @@ -36,9 +36,6 @@

#define _XOPEN_SOURCE 700
#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: add_wchstr.c,v 1.4 2010/02/23 19:48:26 drochner Exp $");
#endif /* not lint */

#include <stdlib.h>

Expand Down
7 changes: 0 additions & 7 deletions libcurses/addbytes.c
Expand Up @@ -31,13 +31,6 @@

#define _XOPEN_SOURCE 700
#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)addbytes.c 8.4 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: addbytes.c,v 1.42 2013/11/10 03:14:16 christos Exp $");
#endif
#endif /* not lint */

#include <wchar.h>
#include <stdlib.h>
Expand Down
7 changes: 0 additions & 7 deletions libcurses/addch.c
Expand Up @@ -30,13 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)addch.c 8.2 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: addch.c,v 1.17 2013/11/09 11:16:59 blymn Exp $");
#endif
#endif /* not lint */

#include "curses.h"
#include "curses_private.h"
Expand Down
3 changes: 0 additions & 3 deletions libcurses/addchnstr.c
Expand Up @@ -30,9 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: addchnstr.c,v 1.6 2013/11/09 11:16:59 blymn Exp $");
#endif /* not lint */

#include <stdlib.h>

Expand Down
7 changes: 0 additions & 7 deletions libcurses/addnstr.c
Expand Up @@ -30,13 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)addnstr.c 8.2 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: addnstr.c,v 1.14 2014/07/13 01:58:08 blymn Exp $");
#endif
#endif /* not lint */

#include <string.h>

Expand Down
3 changes: 0 additions & 3 deletions libcurses/addwstr.c
Expand Up @@ -35,9 +35,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: addwstr.c,v 1.2 2007/05/28 15:01:54 blymn Exp $");
#endif /* not lint */

#include <string.h>

Expand Down
3 changes: 0 additions & 3 deletions libcurses/attributes.c
Expand Up @@ -30,9 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: attributes.c,v 1.21 2010/12/25 10:08:20 blymn Exp $");
#endif /* not lint */

#include "curses.h"
#include "curses_private.h"
Expand Down
3 changes: 0 additions & 3 deletions libcurses/background.c
Expand Up @@ -31,9 +31,6 @@

#define _XOPEN_SOURCE 700
#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: background.c,v 1.15 2009/07/22 16:57:14 roy Exp $");
#endif /* not lint */

#include <stdlib.h>
#include "curses.h"
Expand Down
3 changes: 0 additions & 3 deletions libcurses/bell.c
Expand Up @@ -30,9 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: bell.c,v 1.8 2010/02/03 15:34:40 roy Exp $");
#endif /* not lint */

#include "curses.h"
#include "curses_private.h"
Expand Down
3 changes: 0 additions & 3 deletions libcurses/border.c
Expand Up @@ -31,9 +31,6 @@

#define _XOPEN_SOURCE 700
#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: border.c,v 1.15 2013/05/05 14:23:16 jdc Exp $");
#endif /* not lint */

#include <stdlib.h>
#include <string.h>
Expand Down
7 changes: 0 additions & 7 deletions libcurses/box.c
Expand Up @@ -30,13 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)box.c 8.2 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: box.c,v 1.14 2007/05/28 15:01:54 blymn Exp $");
#endif
#endif /* not lint */

#include "curses.h"

Expand Down
3 changes: 0 additions & 3 deletions libcurses/cchar.c
Expand Up @@ -36,9 +36,6 @@

#define _XOPEN_SOURCE 700
#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: cchar.c,v 1.5 2010/12/16 17:42:28 wiz Exp $");
#endif /* not lint */

#include <string.h>

Expand Down
1 change: 0 additions & 1 deletion libcurses/chgat.c
Expand Up @@ -30,7 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
__RCSID("$NetBSD: chgat.c,v 1.5 2012/09/28 06:05:19 blymn Exp $");

#include "curses.h"
#include "curses_private.h"
Expand Down
7 changes: 0 additions & 7 deletions libcurses/clear.c
Expand Up @@ -30,13 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)clear.c 8.2 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: clear.c,v 1.13 2003/08/07 16:44:19 agc Exp $");
#endif
#endif /* not lint */

#include "curses.h"
#include "curses_private.h"
Expand Down
3 changes: 0 additions & 3 deletions libcurses/clearok.c
Expand Up @@ -30,9 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: clearok.c,v 1.5 2008/04/28 20:23:01 martin Exp $");
#endif /* not lint */

#include "curses.h"
#include "curses_private.h"
Expand Down
7 changes: 0 additions & 7 deletions libcurses/clrtobot.c
Expand Up @@ -30,13 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)clrtobot.c 8.2 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: clrtobot.c,v 1.22 2012/02/19 19:38:13 christos Exp $");
#endif
#endif /* not lint */

#include <stdlib.h>
#include "curses.h"
Expand Down
7 changes: 0 additions & 7 deletions libcurses/clrtoeol.c
Expand Up @@ -30,13 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)clrtoeol.c 8.2 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: clrtoeol.c,v 1.26 2012/02/19 19:38:13 christos Exp $");
#endif
#endif /* not lint */

#include <stdlib.h>
#include "curses.h"
Expand Down
3 changes: 0 additions & 3 deletions libcurses/color.c
Expand Up @@ -31,9 +31,6 @@

#include <stdint.h>
#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: color.c,v 1.38 2011/10/03 12:32:15 roy Exp $");
#endif /* not lint */

#include "curses.h"
#include "curses_private.h"
Expand Down
3 changes: 0 additions & 3 deletions libcurses/copywin.c
Expand Up @@ -30,9 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: copywin.c,v 1.15 2009/07/22 16:57:14 roy Exp $");
#endif /* not lint */

#include <ctype.h>
#include <string.h>
Expand Down
7 changes: 0 additions & 7 deletions libcurses/cr_put.c
Expand Up @@ -30,13 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)cr_put.c 8.3 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: cr_put.c,v 1.31 2011/10/03 12:32:15 roy Exp $");
#endif
#endif /* not lint */

#include <string.h>

Expand Down
7 changes: 0 additions & 7 deletions libcurses/ctrace.c
Expand Up @@ -30,13 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)ctrace.c 8.2 (Berkeley) 10/5/93";
#else
__RCSID("$NetBSD: ctrace.c,v 1.20 2009/01/17 15:25:36 christos Exp $");
#endif
#endif /* not lint */

#ifdef DEBUG
#include <stdarg.h>
Expand Down
7 changes: 0 additions & 7 deletions libcurses/cur_hash.c
Expand Up @@ -30,13 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)cur_hash.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: cur_hash.c,v 1.12 2005/02/18 22:16:27 dsl Exp $");
#endif
#endif /* not lint */

#include <sys/types.h>

Expand Down
3 changes: 0 additions & 3 deletions libcurses/curs_set.c
Expand Up @@ -30,9 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: curs_set.c,v 1.10 2011/03/30 09:47:02 blymn Exp $");
#endif /* not lint */

#include "curses.h"
#include "curses_private.h"
Expand Down
7 changes: 0 additions & 7 deletions libcurses/curses.c
Expand Up @@ -31,13 +31,6 @@

#include <netbsd_sys/cdefs.h>
#include <stdlib.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)curses.c 8.3 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: curses.c,v 1.25 2013/10/16 19:59:29 roy Exp $");
#endif
#endif /* not lint */

#include "curses.h"
#include "curses_private.h"
Expand Down
7 changes: 0 additions & 7 deletions libcurses/delch.c
Expand Up @@ -30,13 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)delch.c 8.2 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: delch.c,v 1.22 2009/07/22 16:57:14 roy Exp $");
#endif
#endif /* not lint */

#include <string.h>
#include <stdlib.h>
Expand Down
7 changes: 0 additions & 7 deletions libcurses/deleteln.c
Expand Up @@ -30,13 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)deleteln.c 8.2 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: deleteln.c,v 1.14 2003/08/07 16:44:21 agc Exp $");
#endif
#endif /* not lint */

#include "curses.h"
#include "curses_private.h"
Expand Down
7 changes: 0 additions & 7 deletions libcurses/delwin.c
Expand Up @@ -30,13 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)delwin.c 8.2 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: delwin.c,v 1.18 2013/10/15 22:15:17 roy Exp $");
#endif
#endif /* not lint */

#include <stdlib.h>

Expand Down
3 changes: 0 additions & 3 deletions libcurses/echo_wchar.c
Expand Up @@ -35,9 +35,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: echo_wchar.c,v 1.2 2007/05/28 15:01:55 blymn Exp $");
#endif /* not lint */

#include "curses.h"
#include "curses_private.h"
Expand Down
3 changes: 0 additions & 3 deletions libcurses/echochar.c
Expand Up @@ -30,9 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: echochar.c,v 1.2 2008/04/29 06:53:01 martin Exp $");
#endif /* not lint */

#include "curses.h"
#include "curses_private.h"
Expand Down
7 changes: 0 additions & 7 deletions libcurses/erase.c
Expand Up @@ -30,13 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)erase.c 8.2 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: erase.c,v 1.25 2011/07/10 12:11:49 blymn Exp $");
#endif
#endif /* not lint */

#include <stdlib.h>

Expand Down
3 changes: 0 additions & 3 deletions libcurses/fileio.c
Expand Up @@ -30,9 +30,6 @@
*/

#include <netbsd_sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: fileio.c,v 1.4 2009/07/22 16:57:14 roy Exp $");
#endif /* not lint */

#include "curses.h"
#include "curses_private.h"
Expand Down

0 comments on commit a7c4bee

Please sign in to comment.