Move struct istat_s above prototypes using it
This commit is contained in:
23
src/botl.c
23
src/botl.c
@@ -285,17 +285,6 @@ char *buf;
|
|||||||
#ifdef STATUS_VIA_WINDOWPORT
|
#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 */
|
/* structure that tracks the status details in the core */
|
||||||
struct istat_s {
|
struct istat_s {
|
||||||
long time;
|
long time;
|
||||||
@@ -307,6 +296,18 @@ struct istat_s {
|
|||||||
enum statusfields fld;
|
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 */
|
/* If entries are added to this, botl.h will require updating too */
|
||||||
STATIC_DCL struct istat_s initblstats[MAXBLSTATS] = {
|
STATIC_DCL struct istat_s initblstats[MAXBLSTATS] = {
|
||||||
{ 0L, ANY_STR, {(genericptr_t)0L}, (char *)0, 80, 0, BL_TITLE},
|
{ 0L, ANY_STR, {(genericptr_t)0L}, (char *)0, 80, 0, BL_TITLE},
|
||||||
|
|||||||
Reference in New Issue
Block a user