. Only #define HUNGER_STR_LEN once.
This commit is contained in:
parent
12e303f789
commit
0befbb7956
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87467
2 changed files with 2 additions and 4 deletions
|
@ -16,14 +16,13 @@ $FreeBSD$
|
|||
char *real;
|
||||
unsigned short id_status;
|
||||
};
|
||||
@@ -472,3 +475,10 @@
|
||||
@@ -472,3 +475,9 @@
|
||||
short second; /* 0 - 59 */
|
||||
};
|
||||
|
||||
+/*
|
||||
+ * external routine declarations.
|
||||
+ */
|
||||
+#define HUNGER_STR_LEN 8
|
||||
+extern char hunger_str[HUNGER_STR_LEN];
|
||||
+extern char login_name[MAX_OPT_LEN];
|
||||
+extern const char *error_file;
|
||||
|
|
|
@ -16,14 +16,13 @@ $FreeBSD$
|
|||
char *real;
|
||||
unsigned short id_status;
|
||||
};
|
||||
@@ -472,3 +475,10 @@
|
||||
@@ -472,3 +475,9 @@
|
||||
short second; /* 0 - 59 */
|
||||
};
|
||||
|
||||
+/*
|
||||
+ * external routine declarations.
|
||||
+ */
|
||||
+#define HUNGER_STR_LEN 8
|
||||
+extern char hunger_str[HUNGER_STR_LEN];
|
||||
+extern char login_name[MAX_OPT_LEN];
|
||||
+extern const char *error_file;
|
||||
|
|
Loading…
Reference in a new issue