chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ee33e53
)
treewide: correct spacing near eol in code comments
author
Torstein Husebø
<torstein@huseboe.net>
Wed, 10 Dec 2014 19:00:09 +0000
(20:00 +0100)
committer
David Herrmann
<dh.herrmann@gmail.com>
Thu, 11 Dec 2014 14:10:03 +0000
(15:10 +0100)
src/hostname/hostnamed.c
patch
|
blob
|
history
src/libsystemd-terminal/term-internal.h
patch
|
blob
|
history
src/libsystemd/sd-id128/sd-id128.c
patch
|
blob
|
history
src/login/logind-dbus.c
patch
|
blob
|
history
src/systemctl/systemctl.c
patch
|
blob
|
history
src/systemd/sd-login.h
patch
|
blob
|
history
src/test/test-strbuf.c
patch
|
blob
|
history
src/udev/udev-builtin-net_id.c
patch
|
blob
|
history
diff --git
a/src/hostname/hostnamed.c
b/src/hostname/hostnamed.c
index 0b38cde1693c843b5b976d1d1c20f43c9755058b..970e8007690982abc503edbfc984c8300595c271 100644
(file)
--- a/
src/hostname/hostnamed.c
+++ b/
src/hostname/hostnamed.c
@@
-276,7
+276,7
@@
static int context_update_kernel_hostname(Context *c) {
if (hostname_is_useful(static_hn))
hn = static_hn;
if (hostname_is_useful(static_hn))
hn = static_hn;
- /* ... the transient host name, (ie: DHCP) comes next ...*/
+ /* ... the transient host name, (ie: DHCP) comes next ...
*/
else if (!isempty(c->data[PROP_HOSTNAME]))
hn = c->data[PROP_HOSTNAME];
else if (!isempty(c->data[PROP_HOSTNAME]))
hn = c->data[PROP_HOSTNAME];
diff --git
a/src/libsystemd-terminal/term-internal.h
b/src/libsystemd-terminal/term-internal.h
index 53713dd64d23ae526529e03231ad48caa63ee9d0..8c6a00188c34ccb17ab14e187d5f1f38ce51d019 100644
(file)
--- a/
src/libsystemd-terminal/term-internal.h
+++ b/
src/libsystemd-terminal/term-internal.h
@@
-472,7
+472,7
@@
enum {
TERM_CMD_VPR, /* vertical-line-position-relative */
TERM_CMD_VT, /* vertical-tab */
TERM_CMD_XTERM_CLLHP, /* xterm-cursor-lower-left-hp-bugfix */
TERM_CMD_VPR, /* vertical-line-position-relative */
TERM_CMD_VT, /* vertical-tab */
TERM_CMD_XTERM_CLLHP, /* xterm-cursor-lower-left-hp-bugfix */
- TERM_CMD_XTERM_IHMT, /* xterm-initiate-highlight-mouse-tracking*/
+ TERM_CMD_XTERM_IHMT, /* xterm-initiate-highlight-mouse-tracking
*/
TERM_CMD_XTERM_MLHP, /* xterm-memory-lock-hp-bugfix */
TERM_CMD_XTERM_MUHP, /* xterm-memory-unlock-hp-bugfix */
TERM_CMD_XTERM_RPM, /* xterm-restore-private-mode */
TERM_CMD_XTERM_MLHP, /* xterm-memory-lock-hp-bugfix */
TERM_CMD_XTERM_MUHP, /* xterm-memory-unlock-hp-bugfix */
TERM_CMD_XTERM_RPM, /* xterm-restore-private-mode */
diff --git
a/src/libsystemd/sd-id128/sd-id128.c
b/src/libsystemd/sd-id128/sd-id128.c
index 233ffa070bdb69900afa3ee482b0f987c7b5d73e..c876f6e381f90d1f48962cc366a909c5348d2c0c 100644
(file)
--- a/
src/libsystemd/sd-id128/sd-id128.c
+++ b/
src/libsystemd/sd-id128/sd-id128.c
@@
-222,7
+222,7
@@
_public_ int sd_id128_randomize(sd_id128_t *ret) {
/* Turn this into a valid v4 UUID, to be nice. Note that we
* only guarantee this for newly generated UUIDs, not for
/* Turn this into a valid v4 UUID, to be nice. Note that we
* only guarantee this for newly generated UUIDs, not for
- * pre-existing ones.*/
+ * pre-existing ones.
*/
*ret = make_v4_uuid(t);
return 0;
*ret = make_v4_uuid(t);
return 0;
diff --git
a/src/login/logind-dbus.c
b/src/login/logind-dbus.c
index 48395f6f949c8a064c913013c1bfdbb03fedbf56..8ea653f70d56c015a9f5f2d582c0dc499917d2ec 100644
(file)
--- a/
src/login/logind-dbus.c
+++ b/
src/login/logind-dbus.c
@@
-727,7
+727,7
@@
static int method_create_session(sd_bus *bus, sd_bus_message *message, void *use
/* Now, let's wait until the slice unit and stuff got
* created. We send the reply back from
/* Now, let's wait until the slice unit and stuff got
* created. We send the reply back from
- * session_send_create_reply().*/
+ * session_send_create_reply().
*/
return 1;
return 1;
diff --git
a/src/systemctl/systemctl.c
b/src/systemctl/systemctl.c
index b1441ad86a33f9a1de93498348ca769cb38f0242..2ceb303f1b0098b5f31f9c892fbf01826cfe7060 100644
(file)
--- a/
src/systemctl/systemctl.c
+++ b/
src/systemctl/systemctl.c
@@
-752,7
+752,7
@@
struct socket_info {
/* Note: triggered is a list here, although it almost certainly
* will always be one unit. Nevertheless, dbus API allows for multiple
/* Note: triggered is a list here, although it almost certainly
* will always be one unit. Nevertheless, dbus API allows for multiple
- * values, so let's follow that.*/
+ * values, so let's follow that.
*/
char** triggered;
/* The strv above is shared. free is set only in the first one. */
char** triggered;
/* The strv above is shared. free is set only in the first one. */
diff --git
a/src/systemd/sd-login.h
b/src/systemd/sd-login.h
index 64b882724c00fe224deb877a20ff4a49e84a0f99..24c8595064275e1d6c2ccc37960ddd797481ddb2 100644
(file)
--- a/
src/systemd/sd-login.h
+++ b/
src/systemd/sd-login.h
@@
-119,7
+119,7
@@
int sd_uid_get_sessions(uid_t uid, int require_active, char ***sessions);
/* Return seats of user is on. If require_active is true, this will look for
* active seats only. Returns the number of seats.
/* Return seats of user is on. If require_active is true, this will look for
* active seats only. Returns the number of seats.
- * If seats is NULL, this will just return the number of seats.*/
+ * If seats is NULL, this will just return the number of seats.
*/
int sd_uid_get_seats(uid_t uid, int require_active, char ***seats);
/* Return 1 if the session is active. */
int sd_uid_get_seats(uid_t uid, int require_active, char ***seats);
/* Return 1 if the session is active. */
diff --git
a/src/test/test-strbuf.c
b/src/test/test-strbuf.c
index 43cb92b74b38874e3a19153e5dc147203c369e93..4ec648ae66c4c5ac91653e910b476f65900d8bd6 100644
(file)
--- a/
src/test/test-strbuf.c
+++ b/
src/test/test-strbuf.c
@@
-48,7
+48,7
@@
static void test_strbuf(void) {
/* check the content of the buffer directly */
l = strv_parse_nulstr(sb->buf, sb->len);
/* check the content of the buffer directly */
l = strv_parse_nulstr(sb->buf, sb->len);
- assert_se(streq(l[0], "")); /* root*/
+ assert_se(streq(l[0], "")); /* root
*/
assert_se(streq(l[1], "waldo"));
assert_se(streq(l[2], "foo"));
assert_se(streq(l[3], "bar"));
assert_se(streq(l[1], "waldo"));
assert_se(streq(l[2], "foo"));
assert_se(streq(l[3], "bar"));
diff --git
a/src/udev/udev-builtin-net_id.c
b/src/udev/udev-builtin-net_id.c
index 3e2c8f8a6a253904393c79824fbb81d1329586c5..95e54520b0f6c722b0bdfcc51ceed1e0fbcf8fab 100644
(file)
--- a/
src/udev/udev-builtin-net_id.c
+++ b/
src/udev/udev-builtin-net_id.c
@@
-307,7
+307,7
@@
static int names_usb(struct udev_device *dev, struct netnames *names) {
s[0] = '\0';
interf = s+1;
s[0] = '\0';
interf = s+1;
- /* prefix every port number in the chain with "u"*/
+ /* prefix every port number in the chain with "u"
*/
s = ports;
while ((s = strchr(s, '.')))
s[0] = 'u';
s = ports;
while ((s = strchr(s, '.')))
s[0] = 'u';