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