]> git.pond.sub.org Git - empserver/commitdiff
Indentation fix.
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 6 Feb 2004 23:26:25 +0000 (23:26 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 6 Feb 2004 23:26:25 +0000 (23:26 +0000)
src/lib/commands/buil.c
src/lib/commands/head.c
src/lib/commands/info.c
src/lib/commands/surv.c
src/lib/common/vlist.c
src/lib/gen/ioqueue.c
src/lib/subs/nreport.c
src/lib/subs/show.c

index de142330341b6a7d25cde4fe574f407c641cfdd7..b92411208505dd1aa4277c1a002b3632b41cf493 100644 (file)
@@ -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;
index a3976879bfdc2a92038cfad5a5c42f231f5d3644..894ca1232cf0cd881c36bdbcfad5be8688b60037 100644 (file)
@@ -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)
 {
index ce6e0654a463862f8763c563da238577e9abd73c..f3e34d3b329ff3c69fb4828759cfb4d8a7534dfc 100644 (file)
@@ -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);
index c83bd8f41c54d666bfe7bff153b8773e38ce92e4..927eaec96088c821a5ea89cd3e38bb84a6900da4 100644 (file)
@@ -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;
index 38f2ee0d3eee32ce508540c0ba2157b498828c59..b0350bfc60ff40aec36a89b96c753b14fa6c35c5 100644 (file)
@@ -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;
index 02d80ed18fa352994427c63d29712667418f4212..8cff715c55f2b69dde52455f95ee196b32d2f906 100644 (file)
@@ -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;
index b2f5a71b14b709a03b7379b73ddf1f40163759de..85888e5cf4886cd96124ee465cbc29bf95208055 100644 (file)
@@ -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];
index 4c854e97ca245d47d03af88dca56a1dbb18a1d0f..133b606c78e82b4d5d9edbc7719fc2141db9b2ca 100644 (file)
@@ -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;