coding style II
This commit is contained in:
parent
af89241571
commit
64808793eb
@ -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;
|
||||
|
4
w.c
4
w.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user