]> granicus.if.org Git - nethack/commitdiff
Move struct istat_s above prototypes using it
authorPasi Kallinen <paxed@alt.org>
Wed, 3 Jun 2015 14:41:01 +0000 (17:41 +0300)
committerPasi Kallinen <paxed@alt.org>
Wed, 3 Jun 2015 14:41:01 +0000 (17:41 +0300)
src/botl.c

index 210a21e1392cd484d441586632478b313bbe944e..527fe5669f4a64ebb1b7c1c9c33c630e5e7711a4 100644 (file)
@@ -285,17 +285,6 @@ char *buf;
 #ifdef STATUS_VIA_WINDOWPORT
 /* =======================================================================*/
 
-STATIC_DCL void NDECL(init_blstats);
-STATIC_DCL char *FDECL(anything_to_s, (char *, anything *, int));
-STATIC_DCL void FDECL(s_to_anything, (anything *, char *, int));
-STATIC_OVL int FDECL(percentage, (struct istat_s *, struct istat_s *));
-STATIC_OVL int FDECL(compare_blstats, (struct istat_s *, struct istat_s *));
-
-#ifdef STATUS_HILITES
-STATIC_DCL boolean FDECL(assign_hilite, (char *, char *, char *, char *, BOOLEAN_P));
-STATIC_DCL const char *FDECL(clridx_to_s, (char *, int));
-#endif
-
 /* structure that tracks the status details in the core */
 struct istat_s {
     long time;
@@ -307,6 +296,18 @@ struct istat_s {
     enum statusfields fld;
 };
 
+
+STATIC_DCL void NDECL(init_blstats);
+STATIC_DCL char *FDECL(anything_to_s, (char *, anything *, int));
+STATIC_DCL void FDECL(s_to_anything, (anything *, char *, int));
+STATIC_OVL int FDECL(percentage, (struct istat_s *, struct istat_s *));
+STATIC_OVL int FDECL(compare_blstats, (struct istat_s *, struct istat_s *));
+
+#ifdef STATUS_HILITES
+STATIC_DCL boolean FDECL(assign_hilite, (char *, char *, char *, char *, BOOLEAN_P));
+STATIC_DCL const char *FDECL(clridx_to_s, (char *, int));
+#endif
+
 /* If entries are added to this, botl.h will require updating too */
 STATIC_DCL struct istat_s initblstats[MAXBLSTATS] = {
         { 0L, ANY_STR,  {(genericptr_t)0L}, (char *)0, 80,  0, BL_TITLE},