chiark / gitweb /
logind,sd-event: drop spurious new-lines
authorLennart Poettering <lennart@poettering.net>
Tue, 9 Jun 2015 23:27:32 +0000 (01:27 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:01:48 +0000 (10:01 +0100)
src/libelogind/sd-event/sd-event.c
src/login/logind-user.c

index 2b8d1b87ed3925c9c3462eb57b097cee798f835a..00880c983b543a563c0388d5346bbe73197d0a3d 100644 (file)
@@ -2384,7 +2384,6 @@ _public_ int sd_event_wait(sd_event *e, uint64_t timeout) {
                 }
 
                 r = -errno;
-
                 goto finish;
         }
 
index 373c9938e769c17ca933d4fb53555ef05e89a41b..c0b473930db0bf71e69861de2e60ec5b552c2a39 100644 (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,