diff options
author | joerg <joerg@pkgsrc.org> | 2013-01-11 23:26:36 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-01-11 23:26:36 +0000 |
commit | 27a662dafedef1c0dd6c80fd5919a04c00aabc9c (patch) | |
tree | fbbffa53f9ca707e3032311d414ab19df4a2d1ed /games | |
parent | 2fb6dea3ebcf569e25854f3b9b96a068c889743f (diff) | |
download | pkgsrc-27a662dafedef1c0dd6c80fd5919a04c00aabc9c.tar.gz |
Use more void.
Diffstat (limited to 'games')
-rw-r--r-- | games/sjeng/distinfo | 4 | ||||
-rw-r--r-- | games/sjeng/patches/patch-segtb.c | 22 | ||||
-rw-r--r-- | games/sjeng/patches/patch-sjeng.h | 11 |
3 files changed, 36 insertions, 1 deletions
diff --git a/games/sjeng/distinfo b/games/sjeng/distinfo index f8b24f3d1c3..21e52594531 100644 --- a/games/sjeng/distinfo +++ b/games/sjeng/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 23:12:02 agc Exp $ +$NetBSD: distinfo,v 1.3 2013/01/11 23:26:36 joerg Exp $ SHA1 (Sjeng-Free-11.0.tar.gz) = cfcbefc5a5872d6340b83fbe64d2c46cf85a8b0f RMD160 (Sjeng-Free-11.0.tar.gz) = ff45c8a14e1b6fde2062107eecab6ebf050acc0d @@ -7,3 +7,5 @@ SHA1 (patch-aa) = c0d98382bccc158a887328577757b5d98574c0ad SHA1 (patch-ab) = 7f87c3a8b2bc249352c07e1db73c6dc0799e3553 SHA1 (patch-ac) = 94c8e903e821f9a77c8faa51033d5b01558d90f6 SHA1 (patch-ad) = 94b3d1f4636262cd6669d03f3f14ca8ed40d0204 +SHA1 (patch-segtb.c) = cf9140aadb535d1f3194ebc6a9b80e8f381473db +SHA1 (patch-sjeng.h) = e71d2af72223c346dd425c42735e3990a85db1c0 diff --git a/games/sjeng/patches/patch-segtb.c b/games/sjeng/patches/patch-segtb.c new file mode 100644 index 00000000000..58fda18dd0e --- /dev/null +++ b/games/sjeng/patches/patch-segtb.c @@ -0,0 +1,22 @@ +$NetBSD: patch-segtb.c,v 1.1 2013/01/11 23:26:36 joerg Exp $ + +--- segtb.c.orig 2013-01-11 14:40:04.000000000 +0000 ++++ segtb.c +@@ -703,7 +703,7 @@ void free_egtb() + } + + +-int init_segtb() ++void init_segtb(void) + { + int i; + +@@ -733,8 +733,6 @@ int init_segtb() + (21 * TWO_PIECE_SIZE) / 1024); + printf("Three-piece suicide endgame table cache %d kB\n", + (CACHE_SIZE * THREE_PIECE_SIZE) / 1024); +- +- return 1; + } + + diff --git a/games/sjeng/patches/patch-sjeng.h b/games/sjeng/patches/patch-sjeng.h new file mode 100644 index 00000000000..1c22a1eb35f --- /dev/null +++ b/games/sjeng/patches/patch-sjeng.h @@ -0,0 +1,11 @@ +$NetBSD: patch-sjeng.h,v 1.1 2013/01/11 23:26:36 joerg Exp $ + +--- sjeng.h.orig 2013-01-11 14:40:45.000000000 +0000 ++++ sjeng.h +@@ -153,4 +153,6 @@ typedef time_t rtime_t; + #define max(x, y) ((x) > (y) ? (x) : (y)) + #define mix(x, y) ((x) < (y) ? (x) : (y)) + ++void init_segtb(void); ++ + #endif |