Skip to content

Commit 3a7e6d0

Browse files
committed
KNF/whitespace: format preprocessor directives correctly.
1 parent 905e2f9 commit 3a7e6d0

File tree

11 files changed

+147
-147
lines changed

11 files changed

+147
-147
lines changed

games/mille/comp.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: comp.c,v 1.11 2009/05/25 23:24:54 dholland Exp $ */
1+
/* $NetBSD: comp.c,v 1.12 2009/05/25 23:34:50 dholland Exp $ */
22

33
/*
44
* Copyright (c) 1982, 1993
@@ -34,17 +34,17 @@
3434
#if 0
3535
static char sccsid[] = "@(#)comp.c 8.1 (Berkeley) 5/31/93";
3636
#else
37-
__RCSID("$NetBSD: comp.c,v 1.11 2009/05/25 23:24:54 dholland Exp $");
37+
__RCSID("$NetBSD: comp.c,v 1.12 2009/05/25 23:34:50 dholland Exp $");
3838
#endif
3939
#endif /* not lint */
4040

41-
# include "mille.h"
41+
#include "mille.h"
4242

4343
/*
4444
* @(#)comp.c 1.1 (Berkeley) 4/1/82
4545
*/
4646

47-
# define V_VALUABLE 40
47+
#define V_VALUABLE 40
4848

4949
void
5050
calcmove(void)

games/mille/end.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: end.c,v 1.8 2009/05/25 23:24:54 dholland Exp $ */
1+
/* $NetBSD: end.c,v 1.9 2009/05/25 23:34:50 dholland Exp $ */
22

33
/*
44
* Copyright (c) 1982, 1993
@@ -34,11 +34,11 @@
3434
#if 0
3535
static char sccsid[] = "@(#)end.c 8.1 (Berkeley) 5/31/93";
3636
#else
37-
__RCSID("$NetBSD: end.c,v 1.8 2009/05/25 23:24:54 dholland Exp $");
37+
__RCSID("$NetBSD: end.c,v 1.9 2009/05/25 23:34:50 dholland Exp $");
3838
#endif
3939
#endif /* not lint */
4040

41-
# include "mille.h"
41+
#include "mille.h"
4242

4343
/*
4444
* @(#)end.c 1.1 (Berkeley) 4/1/82
@@ -85,7 +85,7 @@ finalscore(PLAY *pp)
8585
}
8686
}
8787

88-
# ifdef EXTRAP
88+
#ifdef EXTRAP
8989
static int Last_tot[2]; /* last tot used for extrapolate */
9090

9191
/*
@@ -150,4 +150,4 @@ undoex(void)
150150
pp->hand_tot -= Last_tot[i++];
151151
}
152152
}
153-
# endif
153+
#endif /* EXTRAP */

games/mille/extern.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: extern.c,v 1.8 2009/05/25 23:17:31 dholland Exp $ */
1+
/* $NetBSD: extern.c,v 1.9 2009/05/25 23:34:50 dholland Exp $ */
22

33
/*
44
* Copyright (c) 1982, 1993
@@ -34,11 +34,11 @@
3434
#if 0
3535
static char sccsid[] = "@(#)extern.c 8.1 (Berkeley) 5/31/93";
3636
#else
37-
__RCSID("$NetBSD: extern.c,v 1.8 2009/05/25 23:17:31 dholland Exp $");
37+
__RCSID("$NetBSD: extern.c,v 1.9 2009/05/25 23:34:50 dholland Exp $");
3838
#endif
3939
#endif /* not lint */
4040

41-
# include "mille.h"
41+
#include "mille.h"
4242

4343
/*
4444
* @(#)extern.c 1.1 (Berkeley) 4/1/82

games/mille/init.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: init.c,v 1.10 2009/05/25 23:24:54 dholland Exp $ */
1+
/* $NetBSD: init.c,v 1.11 2009/05/25 23:34:50 dholland Exp $ */
22

33
/*
44
* Copyright (c) 1982, 1993
@@ -34,11 +34,11 @@
3434
#if 0
3535
static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 5/31/93";
3636
#else
37-
__RCSID("$NetBSD: init.c,v 1.10 2009/05/25 23:24:54 dholland Exp $");
37+
__RCSID("$NetBSD: init.c,v 1.11 2009/05/25 23:34:50 dholland Exp $");
3838
#endif
3939
#endif /* not lint */
4040

41-
# include "mille.h"
41+
#include "mille.h"
4242

4343
/*
4444
* @(#)init.c 1.1 (Berkeley) 4/1/82

games/mille/mille.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mille.c,v 1.17 2009/05/25 23:24:54 dholland Exp $ */
1+
/* $NetBSD: mille.c,v 1.18 2009/05/25 23:34:50 dholland Exp $ */
22

33
/*
44
* Copyright (c) 1982, 1993
@@ -39,12 +39,12 @@ __COPYRIGHT("@(#) Copyright (c) 1982, 1993\
3939
#if 0
4040
static char sccsid[] = "@(#)mille.c 8.1 (Berkeley) 5/31/93";
4141
#else
42-
__RCSID("$NetBSD: mille.c,v 1.17 2009/05/25 23:24:54 dholland Exp $");
42+
__RCSID("$NetBSD: mille.c,v 1.18 2009/05/25 23:34:50 dholland Exp $");
4343
#endif
4444
#endif /* not lint */
4545

46-
# include "mille.h"
47-
# include <signal.h>
46+
#include "mille.h"
47+
#include <signal.h>
4848

4949
/*
5050
* @(#)mille.c 1.3 (Berkeley) 5/10/83
@@ -90,11 +90,11 @@ main(int ac, char *av[])
9090
leaveok(Score, TRUE);
9191
leaveok(Miles, TRUE);
9292
clearok(curscr, TRUE);
93-
# ifndef PROF
93+
#ifndef PROF
9494
srandom(getpid());
95-
# else
95+
#else
9696
srandom(0);
97-
# endif
97+
#endif
9898
cbreak();
9999
noecho();
100100
signal(SIGINT, rub);

0 commit comments

Comments
 (0)