Commit 64808793 authored by albert's avatar albert

coding style II

parent af892415
......@@ -39,7 +39,7 @@
#endif
static char saved_personality_text[] = "You found a bug!";
static char *saved_personality_text = "You found a bug!";
int all_processes = -1;
char *bsd_j_format = (char *)0xdeadbeef;
......
......@@ -99,8 +99,8 @@ static time_t idletime(char *tty) {
/***** 7 character formatted login time */
static void print_logintime(time_t logt, FILE* fout) {
char weekday[4][] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" },
month [4][] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul",
char weekday[][4] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" },
month [][4] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul",
"Aug", "Sep", "Oct", "Nov", "Dec" };
time_t curt;
struct tm *logtm, *curtm;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment