Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/hunt/huntd be consistent about whether functions are s...
details: https://anonhg.NetBSD.org/src/rev/ee2cb9b385a1
branches: trunk
changeset: 328250:ee2cb9b385a1
user: dholland <dholland%NetBSD.org@localhost>
date: Sat Mar 29 21:38:54 2014 +0000
description:
be consistent about whether functions are static
diffstat:
games/hunt/huntd/execute.c | 6 +++---
games/hunt/huntd/shots.c | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r fc1475f90366 -r ee2cb9b385a1 games/hunt/huntd/execute.c
--- a/games/hunt/huntd/execute.c Sat Mar 29 21:33:41 2014 +0000
+++ b/games/hunt/huntd/execute.c Sat Mar 29 21:38:54 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: execute.c,v 1.11 2014/03/29 19:41:10 dholland Exp $ */
+/* $NetBSD: execute.c,v 1.12 2014/03/29 21:38:54 dholland Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: execute.c,v 1.11 2014/03/29 19:41:10 dholland Exp $");
+__RCSID("$NetBSD: execute.c,v 1.12 2014/03/29 21:38:54 dholland Exp $");
#endif /* not lint */
#include <stdlib.h>
@@ -550,7 +550,7 @@
* pickup:
* check whether the object blew up or whether he picked it up
*/
-void
+static void
pickup(PLAYER *pp, int y, int x, int prob, int obj)
{
int req;
diff -r fc1475f90366 -r ee2cb9b385a1 games/hunt/huntd/shots.c
--- a/games/hunt/huntd/shots.c Sat Mar 29 21:33:41 2014 +0000
+++ b/games/hunt/huntd/shots.c Sat Mar 29 21:38:54 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: shots.c,v 1.13 2014/03/29 19:41:11 dholland Exp $ */
+/* $NetBSD: shots.c,v 1.14 2014/03/29 21:43:19 dholland Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: shots.c,v 1.13 2014/03/29 19:41:11 dholland Exp $");
+__RCSID("$NetBSD: shots.c,v 1.14 2014/03/29 21:43:19 dholland Exp $");
#endif /* not lint */
#include <err.h>
@@ -791,7 +791,7 @@
* move the given slime shot speed times and add it back if
* it hasn't fizzled yet
*/
-void
+static void
move_slime(BULLET *bp, int speed, BULLET *next)
{
int i, j, dirmask, count;
@@ -1004,7 +1004,7 @@
* explshot -
* Make all shots at this location blow up
*/
-void
+static void
explshot(BULLET *blist, int y, int x)
{
BULLET *bp;
Home |
Main Index |
Thread Index |
Old Index