(dirchar, neighsects, login_coms, lookup_list, g_distptrs, level_easy)

(level_log, levelnames): Internal linkage.
This commit is contained in:
Markus Armbruster 2006-03-23 20:32:29 +00:00
parent be78c807e3
commit 3252f8a907
7 changed files with 16 additions and 10 deletions

View file

@ -56,7 +56,7 @@ struct distinfo {
/* This is our global buffer of distribution pointers. Note that
* We only malloc this once, and never again (until reboot time
* of course :) ) We do clear it each and every time. */
struct distinfo *g_distptrs = (struct distinfo *)0;
static struct distinfo *g_distptrs;
/* Note that even though we malloc and save the path, it is never
* used. Thus, this option. If you want to malloc and save every

View file

@ -72,8 +72,8 @@ static void share_incr(double *, double *);
* They are changed later in the limit_level routine.
*/
/*tech res edu hap */
float level_easy[4] = { 0.75, 0.75, 5.00, 5.00 };
float level_log[4] = { 1.75, 2.00, 4.00, 6.00 };
static float level_easy[4] = { 0.75, 0.75, 5.00, 5.00 };
static float level_log[4] = { 1.75, 2.00, 4.00, 6.00 };
float levels[MAXNOC][4];

View file

@ -49,8 +49,9 @@
static void materials_charge(struct pchrstr *, short *, int);
static int materials_cost(struct pchrstr *, short *, int *);
s_char *levelnames[] =
{ "Technology", "Research", "Education", "Happiness" };
static char *levelnames[] = {
"Technology", "Research", "Education", "Happiness"
};
int
produce(struct natstr *np, struct sctstr *sp, short *vec, int work,