summaryrefslogtreecommitdiff
path: root/src/utmp-wtmp.h
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-11-06 23:06:38 +0100
committerMichal Schmidt <mschmidt@redhat.com>2011-11-07 01:09:53 +0100
commit0ad26e09de813857382ec3a787fc6df5e52cf98b (patch)
treefb625b2733152c3bc8354b73ccda55b8d629da3a /src/utmp-wtmp.h
parent4cbd9ecf45f64c3a9acc99d473fbf3be3687ae24 (diff)
utmp: remove unneded parameters
With these functions no caller ever passes anything else than 0 for 't' (meaning the current time will be used).
Diffstat (limited to 'src/utmp-wtmp.h')
-rw-r--r--src/utmp-wtmp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utmp-wtmp.h b/src/utmp-wtmp.h
index 4054aff7ea..a5998ebb21 100644
--- a/src/utmp-wtmp.h
+++ b/src/utmp-wtmp.h
@@ -26,12 +26,12 @@
int utmp_get_runlevel(int *runlevel, int *previous);
-int utmp_put_shutdown(usec_t timestamp);
+int utmp_put_shutdown(void);
int utmp_put_reboot(usec_t timestamp);
-int utmp_put_runlevel(usec_t timestamp, int runlevel, int previous);
+int utmp_put_runlevel(int runlevel, int previous);
int utmp_put_dead_process(const char *id, pid_t pid, int code, int status);
-int utmp_put_init_process(usec_t timestamp, const char *id, pid_t pid, pid_t sid, const char *line);
+int utmp_put_init_process(const char *id, pid_t pid, pid_t sid, const char *line);
int utmp_wall(const char *message, bool (*match_tty)(const char *tty));