logind,sd-event: drop spurious new-lines

This commit is contained in:
Lennart Poettering
2015-06-10 01:28:58 +02:00
parent ce30c8dcb4
commit cde40acc80
2 changed files with 2 additions and 5 deletions
-1
View File
@@ -2384,7 +2384,6 @@ _public_ int sd_event_wait(sd_event *e, uint64_t timeout) {
}
r = -errno;
goto finish;
}
+2 -4
View File
@@ -738,8 +738,7 @@ int user_kill(User *u, int signo) {
return manager_kill_unit(u->manager, u->slice, KILL_ALL, signo, NULL);
}
static bool
elect_display_filter(Session *s) {
static bool elect_display_filter(Session *s) {
/* Return true if the session is a candidate for the user’s ‘primary
* session’ or ‘display’. */
assert(s);
@@ -747,8 +746,7 @@ elect_display_filter(Session *s) {
return (s->class == SESSION_USER && !s->stopping);
}
static int
elect_display_compare(Session *s1, Session *s2) {
static int elect_display_compare(Session *s1, Session *s2) {
/* Indexed by SessionType. Lower numbers mean more preferred. */
const int type_ranks[_SESSION_TYPE_MAX] = {
[SESSION_UNSPECIFIED] = 0,