]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-id128: slightly reorder function prototypes
authorLennart Poettering <lennart@poettering.net>
Fri, 14 Dec 2018 10:45:21 +0000 (11:45 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 15 Dec 2018 11:06:44 +0000 (12:06 +0100)
Let's place the three calls for acquiring the IDs together, and the
calls for getting the app-specific ones separate from them.

src/systemd/sd-id128.h

index dcc7e5b3660d005fc29f2a749001e4094555c6f6..59f375bef55d910377e5952fca7661352fc3dadc 100644 (file)
@@ -41,11 +41,12 @@ int sd_id128_from_string(const char *s, sd_id128_t *ret);
 int sd_id128_randomize(sd_id128_t *ret);
 
 int sd_id128_get_machine(sd_id128_t *ret);
-int sd_id128_get_machine_app_specific(sd_id128_t app_id, sd_id128_t *ret);
-int sd_id128_get_boot_app_specific(sd_id128_t app_id, sd_id128_t *ret);
 int sd_id128_get_boot(sd_id128_t *ret);
 int sd_id128_get_invocation(sd_id128_t *ret);
 
+int sd_id128_get_machine_app_specific(sd_id128_t app_id, sd_id128_t *ret);
+int sd_id128_get_boot_app_specific(sd_id128_t app_id, sd_id128_t *ret);
+
 #define SD_ID128_ARRAY(v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15) \
         { .bytes = { 0x##v0, 0x##v1, 0x##v2, 0x##v3, 0x##v4, 0x##v5, 0x##v6, 0x##v7, \
                      0x##v8, 0x##v9, 0x##v10, 0x##v11, 0x##v12, 0x##v13, 0x##v14, 0x##v15 }}