Indentation fix.
This commit is contained in:
parent
a3cd473589
commit
0696bb190d
8 changed files with 23 additions and 46 deletions
|
@ -652,8 +652,7 @@ build_land(register struct sctstr *sp, register struct lchrstr *lp,
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
build_bridge(register struct sctstr *sp, register int *vec)
|
build_bridge(register struct sctstr *sp, register int *vec)
|
||||||
{
|
{
|
||||||
extern int buil_bh;
|
extern int buil_bh;
|
||||||
|
@ -807,8 +806,7 @@ build_bridge(register struct sctstr *sp, register int *vec)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
build_nuke(register struct sctstr *sp, register struct nchrstr *np,
|
build_nuke(register struct sctstr *sp, register struct nchrstr *np,
|
||||||
register int *vec)
|
register int *vec)
|
||||||
{
|
{
|
||||||
|
@ -866,8 +864,7 @@ build_nuke(register struct sctstr *sp, register struct nchrstr *np,
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
build_plane(register struct sctstr *sp, register struct plchrstr *pp,
|
build_plane(register struct sctstr *sp, register struct plchrstr *pp,
|
||||||
register int *vec, int tlev)
|
register int *vec, int tlev)
|
||||||
{
|
{
|
||||||
|
@ -1006,8 +1003,7 @@ build_plane(register struct sctstr *sp, register struct plchrstr *pp,
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
build_tower(register struct sctstr *sp, register int *vec)
|
build_tower(register struct sctstr *sp, register int *vec)
|
||||||
{
|
{
|
||||||
extern int buil_tower_bh;
|
extern int buil_tower_bh;
|
||||||
|
|
|
@ -126,8 +126,7 @@ head(void)
|
||||||
return RET_OK;
|
return RET_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
head_printscoop(struct histstr (*hist)[MAXNOC], natid ano, natid vno)
|
head_printscoop(struct histstr (*hist)[MAXNOC], natid ano, natid vno)
|
||||||
{
|
{
|
||||||
register struct histstr *hp;
|
register struct histstr *hp;
|
||||||
|
@ -144,8 +143,7 @@ head_printscoop(struct histstr (*hist)[MAXNOC], natid ano, natid vno)
|
||||||
return severity;
|
return severity;
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static s_char *
|
||||||
s_char *
|
|
||||||
head_meanwhile(int val)
|
head_meanwhile(int val)
|
||||||
{
|
{
|
||||||
switch (val & 03) {
|
switch (val & 03) {
|
||||||
|
@ -162,8 +160,7 @@ head_meanwhile(int val)
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static s_char *
|
||||||
s_char *
|
|
||||||
head_describe(struct histstr *hp, int what)
|
head_describe(struct histstr *hp, int what)
|
||||||
{
|
{
|
||||||
s_char *cp;
|
s_char *cp;
|
||||||
|
@ -222,8 +219,7 @@ head_describe(struct histstr *hp, int what)
|
||||||
* returns 9 if no scoops were found
|
* returns 9 if no scoops were found
|
||||||
* Pretty strange.
|
* Pretty strange.
|
||||||
*/
|
*/
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
head_findscoop(struct histstr (*hist)[MAXNOC], register natid maxcnum,
|
head_findscoop(struct histstr (*hist)[MAXNOC], register natid maxcnum,
|
||||||
natid *ano, natid *vno)
|
natid *ano, natid *vno)
|
||||||
{
|
{
|
||||||
|
|
|
@ -55,8 +55,7 @@ static int fileselect(struct dirent *dp);
|
||||||
static int printdir(void);
|
static int printdir(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static
|
static s_char *
|
||||||
s_char *
|
|
||||||
lowerit(s_char *buf, int n, s_char *orig)
|
lowerit(s_char *buf, int n, s_char *orig)
|
||||||
{ /* converts a string to lower case */
|
{ /* converts a string to lower case */
|
||||||
/* lower case output buffer */
|
/* lower case output buffer */
|
||||||
|
@ -72,8 +71,7 @@ lowerit(s_char *buf, int n, s_char *orig)
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
strnccmp(s_char *s1, s_char *s2, int n)
|
strnccmp(s_char *s1, s_char *s2, int n)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -163,8 +161,7 @@ info(void)
|
||||||
#if 0
|
#if 0
|
||||||
static int biggest;
|
static int biggest;
|
||||||
|
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
fileselect(struct dirent *dp)
|
fileselect(struct dirent *dp)
|
||||||
{
|
{
|
||||||
int l;
|
int l;
|
||||||
|
@ -177,8 +174,7 @@ fileselect(struct dirent *dp)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef solaris
|
#ifdef solaris
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
alphasort(struct dirent *d1, struct dirent *d2)
|
alphasort(struct dirent *d1, struct dirent *d2)
|
||||||
{
|
{
|
||||||
return strcmp(d1->d_name, d2->d_name);
|
return strcmp(d1->d_name, d2->d_name);
|
||||||
|
|
|
@ -142,8 +142,7 @@ surv(void)
|
||||||
return RET_OK;
|
return RET_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static s_char
|
||||||
s_char
|
|
||||||
code_char(long int coding, struct sctstr *sp)
|
code_char(long int coding, struct sctstr *sp)
|
||||||
{
|
{
|
||||||
int amt;
|
int amt;
|
||||||
|
|
|
@ -273,8 +273,7 @@ vl_setvec(register u_char *type, register u_short *amt, u_char *nvp,
|
||||||
* make a free slot; deliveries and distributions
|
* make a free slot; deliveries and distributions
|
||||||
* are fair game for us.
|
* are fair game for us.
|
||||||
*/
|
*/
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
freeslot(u_char *vec, register u_char *end)
|
freeslot(u_char *vec, register u_char *end)
|
||||||
{
|
{
|
||||||
register u_char *vp;
|
register u_char *vp;
|
||||||
|
|
|
@ -189,8 +189,7 @@ ioq_puts(struct ioqueue *ioq, s_char *buf)
|
||||||
* this routine doesn't free memory; this is
|
* this routine doesn't free memory; this is
|
||||||
* left for a higher level.
|
* left for a higher level.
|
||||||
*/
|
*/
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
ioqtobuf(struct ioqueue *ioq, s_char *buf, int cc)
|
ioqtobuf(struct ioqueue *ioq, s_char *buf, int cc)
|
||||||
{
|
{
|
||||||
struct io *io;
|
struct io *io;
|
||||||
|
@ -224,8 +223,7 @@ ioqtobuf(struct ioqueue *ioq, s_char *buf, int cc)
|
||||||
* copy at most cc bytes from ioq to buf,
|
* copy at most cc bytes from ioq to buf,
|
||||||
* terminating on the stop character.
|
* terminating on the stop character.
|
||||||
*/
|
*/
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
ioqtocbuf(struct ioqueue *ioq, s_char *buf, int cc, register int stopc)
|
ioqtocbuf(struct ioqueue *ioq, s_char *buf, int cc, register int stopc)
|
||||||
{
|
{
|
||||||
register int nbytes;
|
register int nbytes;
|
||||||
|
@ -263,8 +261,7 @@ ioqtocbuf(struct ioqueue *ioq, s_char *buf, int cc, register int stopc)
|
||||||
* of data from the ioqueue.
|
* of data from the ioqueue.
|
||||||
*/
|
*/
|
||||||
#if !defined(_WIN32)
|
#if !defined(_WIN32)
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
ioqtoiov(struct ioqueue *ioq, struct iovec *iov, register int max)
|
ioqtoiov(struct ioqueue *ioq, struct iovec *iov, register int max)
|
||||||
{
|
{
|
||||||
struct io *io;
|
struct io *io;
|
||||||
|
@ -297,8 +294,7 @@ ioqtoiov(struct ioqueue *ioq, struct iovec *iov, register int max)
|
||||||
/*
|
/*
|
||||||
* append a buffer to the end of the ioq.
|
* append a buffer to the end of the ioq.
|
||||||
*/
|
*/
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
appendcc(struct ioqueue *ioq, s_char *buf, int cc)
|
appendcc(struct ioqueue *ioq, s_char *buf, int cc)
|
||||||
{
|
{
|
||||||
struct io *io;
|
struct io *io;
|
||||||
|
@ -338,8 +334,7 @@ appendcc(struct ioqueue *ioq, s_char *buf, int cc)
|
||||||
* free memory, dequeue io elements
|
* free memory, dequeue io elements
|
||||||
* which are no longer used.
|
* which are no longer used.
|
||||||
*/
|
*/
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
removecc(struct ioqueue *ioq, register int cc)
|
removecc(struct ioqueue *ioq, register int cc)
|
||||||
{
|
{
|
||||||
struct io *io;
|
struct io *io;
|
||||||
|
|
|
@ -124,8 +124,7 @@ findfree(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static int
|
||||||
int
|
|
||||||
nextfree(void)
|
nextfree(void)
|
||||||
{
|
{
|
||||||
struct free *fp;
|
struct free *fp;
|
||||||
|
@ -148,8 +147,7 @@ struct newscache {
|
||||||
int id;
|
int id;
|
||||||
};
|
};
|
||||||
|
|
||||||
static
|
static struct newscache *
|
||||||
struct newscache *
|
|
||||||
ncache(time_t now, int actor, int event, int victim, int times)
|
ncache(time_t now, int actor, int event, int victim, int times)
|
||||||
{
|
{
|
||||||
static struct newscache cache[MAXNOC][SLOTS];
|
static struct newscache cache[MAXNOC][SLOTS];
|
||||||
|
|
|
@ -171,8 +171,7 @@ sort_lookup_list(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static void
|
||||||
void
|
|
||||||
make_new_list(int tlev, int type)
|
make_new_list(int tlev, int type)
|
||||||
{
|
{
|
||||||
struct plchrstr *pp;
|
struct plchrstr *pp;
|
||||||
|
@ -217,8 +216,7 @@ make_new_list(int tlev, int type)
|
||||||
sort_lookup_list();
|
sort_lookup_list();
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static s_char *
|
||||||
s_char *
|
|
||||||
lookup(int key, struct lookup *table)
|
lookup(int key, struct lookup *table)
|
||||||
{
|
{
|
||||||
int match;
|
int match;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue