diff options
author | Petr Uzel | 2011-02-14 14:43:27 +0100 |
---|---|---|
committer | Karel Zak | 2011-02-16 16:07:15 +0100 |
commit | 70b989c2800729f1442d0b9ea72ff92cdd211fe6 (patch) | |
tree | 8975c30b0597a50b392fd6c019a649afcef5bc53 /misc-utils/uuidd.c | |
parent | libuuid: get_clock(): report if the clock_seq is safe (diff) | |
download | kernel-qcow2-util-linux-70b989c2800729f1442d0b9ea72ff92cdd211fe6.tar.gz kernel-qcow2-util-linux-70b989c2800729f1442d0b9ea72ff92cdd211fe6.tar.xz kernel-qcow2-util-linux-70b989c2800729f1442d0b9ea72ff92cdd211fe6.zip |
libuuid: rename uuid__generate_* to __uuid_generate_*
Having uuid_generate_time and uuid__generate_time at
the same time is confusing. These functions are exported,
but not part of the official API (used by uuidd only).
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Diffstat (limited to 'misc-utils/uuidd.c')
-rw-r--r-- | misc-utils/uuidd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc-utils/uuidd.c b/misc-utils/uuidd.c index 145e6d0ef..a01cf568f 100644 --- a/misc-utils/uuidd.c +++ b/misc-utils/uuidd.c @@ -346,7 +346,7 @@ static void server_loop(const char *socket_path, const char *pidfile_path, break; case UUIDD_OP_TIME_UUID: num = 1; - uuid__generate_time(uu, &num); + __uuid_generate_time(uu, &num); if (debug) { uuid_unparse(uu, str); printf(_("Generated time UUID: %s\n"), str); @@ -356,7 +356,7 @@ static void server_loop(const char *socket_path, const char *pidfile_path, break; case UUIDD_OP_RANDOM_UUID: num = 1; - uuid__generate_random(uu, &num); + __uuid_generate_random(uu, &num); if (debug) { uuid_unparse(uu, str); printf(_("Generated random UUID: %s\n"), str); @@ -365,7 +365,7 @@ static void server_loop(const char *socket_path, const char *pidfile_path, reply_len = sizeof(uu); break; case UUIDD_OP_BULK_TIME_UUID: - uuid__generate_time(uu, &num); + __uuid_generate_time(uu, &num); if (debug) { uuid_unparse(uu, str); printf(_("Generated time UUID %s and %d " @@ -383,7 +383,7 @@ static void server_loop(const char *socket_path, const char *pidfile_path, num = 1000; if (num * UUID_LEN > (int) (sizeof(reply_buf)-sizeof(num))) num = (sizeof(reply_buf)-sizeof(num)) / UUID_LEN; - uuid__generate_random((unsigned char *) reply_buf + + __uuid_generate_random((unsigned char *) reply_buf + sizeof(num), &num); if (debug) { printf(_("Generated %d UUIDs:\n"), num); |