blob: 3c936b353a23ae594ddb3a684bd38f5dd2b2d82b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
--- hack/hack.shk.c.orig Sun May 27 21:36:53 2007
+++ hack/hack.shk.c Sun May 27 21:38:28 2007
@@ -131,11 +131,11 @@ struct bill_x *bp = bill;
}
}
+static void findshk();
+
inshop(){
int roomno = inroom(u.ux,u.uy);
- static void findshk();
-
/* Did we just leave a shop? */
if(u.uinshop &&
(u.uinshop != roomno + 1 || shlevel != dlevel || !shopkeeper)) {
@@ -308,14 +308,14 @@ struct monst *shkp;
}
}
+static int dopayobj();
+
dopay(){
long ltmp;
struct bill_x *bp;
struct monst *shkp;
int pass, tmp;
- static int dopayobj();
-
multi = 0;
(void) inshop();
for(shkp = fmon; shkp; shkp = shkp->nmon)
@@ -692,10 +692,11 @@ quit:
return(0);
}
+static int realhunger();
+
static
getprice(obj) struct obj *obj; {
int tmp, ac;
- static int realhunger();
switch(obj->olet){
case AMULET_SYM:
|