Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sbin/gpt

Module Name:    src
Committed By:   jakllsch
Date:           Sat Apr 13 18:04:33 UTC 2013

Modified Files:
        src/sbin/gpt: add.c create.c gpt.c gpt.h label.c migrate.c remove.c

Log Message:
Clean up gpt(8) a bit more

uuid_create_nil(3) and uuid_is_nil(3) take a uuid_t*, not a pointer to
an array of bytes merely casted to compatible type.

Additonally, there no need for extra casts and address-of operations when
using le_uuid_*() functions.

Furthermore, le_uuid_*() are identical to uuid_*_le functions in
libc/libuuid, so use those instead on NetBSD.

To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sbin/gpt/add.c
cvs rdiff -u -r1.5 -r1.6 src/sbin/gpt/create.c src/sbin/gpt/gpt.h \
cvs rdiff -u -r1.18 -r1.19 src/sbin/gpt/gpt.c
cvs rdiff -u -r1.9 -r1.10 src/sbin/gpt/label.c
cvs rdiff -u -r1.7 -r1.8 src/sbin/gpt/remove.c
cvs rdiff -u -r1.8 -r1.9 src/sbin/gpt/show.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index