Remove some superflous declarations missed in the previous revision.
This commit is contained in:
parent
c1162bbcf4
commit
80aae5b8e6
6 changed files with 0 additions and 13 deletions
|
@ -53,7 +53,6 @@ ldump(void)
|
|||
struct nstr_item ni;
|
||||
struct lndstr land;
|
||||
int vec[I_MAX + 1];
|
||||
s_char *mission_short_name(int);
|
||||
int n, i;
|
||||
struct natstr *np;
|
||||
time_t now;
|
||||
|
|
|
@ -50,7 +50,6 @@ lsta(void)
|
|||
int nunits;
|
||||
struct nstr_item ni;
|
||||
struct lndstr land;
|
||||
s_char *mission_short_name(int);
|
||||
|
||||
if (!snxtitem(&ni, EF_LAND, player->argp[1]))
|
||||
return RET_SYN;
|
||||
|
|
|
@ -49,7 +49,6 @@
|
|||
int
|
||||
thre(void)
|
||||
{
|
||||
extern struct ichrstr *whatitem(s_char *, s_char *);
|
||||
struct sctstr sect;
|
||||
struct nstr_sect nstr;
|
||||
int val;
|
||||
|
|
|
@ -87,7 +87,6 @@ growsdown(void *x)
|
|||
void
|
||||
lwpReschedule(void)
|
||||
{
|
||||
extern struct lwpQueue LwpSchedQ[];
|
||||
static int lcount = LCOUNT;
|
||||
static struct lwpProc *nextp;
|
||||
static int i;
|
||||
|
|
|
@ -83,8 +83,6 @@ lwpInitSelect(struct lwpProc *proc)
|
|||
void
|
||||
lwpSleepFd(int fd, int mask)
|
||||
{
|
||||
extern struct lwpProc *LwpCurrent;
|
||||
|
||||
lwpStatus(LwpCurrent, "sleeping on fd %d", fd);
|
||||
|
||||
if (LwpSelect.wait[fd] != 0) {
|
||||
|
@ -130,8 +128,6 @@ lwpWakeupFd(struct lwpProc *proc)
|
|||
void
|
||||
lwpSleepUntil(long int until)
|
||||
{
|
||||
extern struct lwpProc *LwpCurrent;
|
||||
|
||||
lwpStatus(LwpCurrent, "sleeping for %d sec", until - time(0));
|
||||
LwpCurrent->runtime = until;
|
||||
if (LwpSelect.maxfd == 0 && LwpSelect.delayq.head == 0) {
|
||||
|
@ -146,7 +142,6 @@ lwpSleepUntil(long int until)
|
|||
void
|
||||
lwpSelect(void *arg)
|
||||
{
|
||||
extern struct lwpProc *LwpCurrent;
|
||||
struct lwpProc *us = LwpCurrent;
|
||||
fd_set readmask;
|
||||
fd_set writemask;
|
||||
|
|
|
@ -57,8 +57,6 @@ lwpCreateSem(char *name, int count)
|
|||
void
|
||||
lwpSignal(struct lwpSem *s)
|
||||
{
|
||||
extern struct lwpProc *LwpCurrent;
|
||||
|
||||
lwpStatus(LwpCurrent, "done with semaphore %s", s->name);
|
||||
if (s->count++ < 0) {
|
||||
struct lwpProc *p = lwpGetFirst(&s->q);
|
||||
|
@ -77,8 +75,6 @@ lwpSignal(struct lwpSem *s)
|
|||
void
|
||||
lwpWait(struct lwpSem *s)
|
||||
{
|
||||
extern struct lwpProc *LwpCurrent;
|
||||
|
||||
lwpStatus(LwpCurrent, "checking semaphore %s", s->name);
|
||||
if (--s->count < 0) {
|
||||
lwpStatus(LwpCurrent, "blocking");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue