]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libuuid: (man) fix function declarations
authorCismonX <admin@cismon.net>
Thu, 28 Mar 2024 23:26:35 +0000 (07:26 +0800)
committerCismonX <admin@cismon.net>
Thu, 28 Mar 2024 23:26:35 +0000 (07:26 +0800)
libuuid/man/uuid_compare.3.adoc
libuuid/man/uuid_copy.3.adoc
libuuid/man/uuid_is_null.3.adoc
libuuid/man/uuid_parse.3.adoc
libuuid/man/uuid_time.3.adoc
libuuid/man/uuid_unparse.3.adoc

index 1d3247542b74431b1af70bc523fb898ec4cba0e2..6001167500956d370cc0dad50c9d21512f5b5245 100644 (file)
@@ -46,7 +46,7 @@ uuid_compare - compare whether two UUIDs are the same
 
 *#include <uuid.h>*
 
-*int uuid_compare(uuid_t __uu1__, uuid_t __uu2__)*
+*int uuid_compare(const uuid_t __uu1__, const uuid_t __uu2__)*
 
 == DESCRIPTION
 
index fee40d6bf7b7eb61ae4e660ade4b4d2782211834..31c963decae14654831b5d2132e4b1931abb56ce 100644 (file)
@@ -46,7 +46,7 @@ uuid_copy - copy a UUID value
 
 *#include <uuid.h>*
 
-*void uuid_copy(uuid_t __dst__, uuid_t __src__);*
+*void uuid_copy(uuid_t __dst__, const uuid_t __src__);*
 
 == DESCRIPTION
 
index 6fed1d8a860239dbe1a8fbb7581ad7fb062e480a..23f2bf85f04d2bbe0ab47fc5530af5638c99d173 100644 (file)
@@ -46,7 +46,7 @@ uuid_is_null - compare the value of the UUID to the NULL value
 
 *#include <uuid.h>*
 
-*int uuid_is_null(uuid_t __uu__);*
+*int uuid_is_null(const uuid_t __uu__);*
 
 == DESCRIPTION
 
index 8129aaee8fc9ddcc31d91dfcd77dfa784f88f217..230023fd5a2574c2db5c6d22d0288c781df5e05c 100644 (file)
@@ -46,8 +46,8 @@ uuid_parse - convert an input UUID string into binary representation
 
 *#include <uuid.h>*
 
-*int uuid_parse(char *__in__, uuid_t __uu__);* +
-*int uuid_parse_range(char *__in_start__, char *__in_end__, uuid_t __uu__);*
+*int uuid_parse(const char *__in__, uuid_t __uu__);* +
+*int uuid_parse_range(const char *__in_start__, const char *__in_end__, uuid_t __uu__);*
 
 == DESCRIPTION
 
index 5497583ccc3e21ddccb05a2de45de56dcb84dd69..5e579e240ee6ed471fb057c3d5b6d2a6ce4424b4 100644 (file)
@@ -46,7 +46,7 @@ uuid_time - extract the time at which the UUID was created
 
 *#include <uuid.h>*
 
-*time_t uuid_time(uuid_t __uu__, struct timeval *__ret_tv__)*
+*time_t uuid_time(const uuid_t __uu__, struct timeval *__ret_tv__)*
 
 == DESCRIPTION
 
index a14dc8c2e76ef1fbef86a18dd93f276d564c063a..20e8cfbab31597125b8dba6858653ea9e7553133 100644 (file)
@@ -46,9 +46,9 @@ uuid_unparse - convert a UUID from binary representation to a string
 
 *#include <uuid.h>*
 
-*void uuid_unparse(uuid_t __uu__, char *__out__);* +
-*void uuid_unparse_upper(uuid_t __uu__, char *__out__);* +
-*void uuid_unparse_lower(uuid_t __uu__, char *__out__);*
+*void uuid_unparse(const uuid_t __uu__, char *__out__);* +
+*void uuid_unparse_upper(const uuid_t __uu__, char *__out__);* +
+*void uuid_unparse_lower(const uuid_t __uu__, char *__out__);*
 
 == DESCRIPTION