X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fusers.c;h=5ba795906f47faa964805ce2f03ef8fc5df8dfac;hb=13188c8b110a8cc94f43bc6c5a37b073e3b78430;hp=cd3c01e83a3da5511b32f4bf2242784b51e3b39c;hpb=36ebcf347de0faf57841585118f82ef95e5f1e82;p=monky diff --git a/src/users.c b/src/users.c index cd3c01e..5ba7959 100644 --- a/src/users.c +++ b/src/users.c @@ -157,7 +157,7 @@ void update_user_time(char *tty) } } -void update_users(void) +int update_users(void) { struct information *current_info = &info; char temp[BUFLEN] = ""; @@ -221,4 +221,5 @@ void update_users(void) current_info->users.times = malloc(text_buffer_size); strncpy(current_info->users.times, "broken", text_buffer_size); } + return 0; }