]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
remove LIBUUID things from nvme.h
authorMinwoo Im <minwoo.im@samsung.com>
Tue, 3 Sep 2019 01:25:37 +0000 (10:25 +0900)
committer임민우/MINWOOIM <minwoo.im@samsungds.net>
Tue, 3 Sep 2019 01:28:41 +0000 (10:28 +0900)
commit1b526e64f713ee3d5e3b34cb40373f8e59c8318c
treef342889603854777649fe1bfa1ec2c59a67e4535
parent70501d661cdb62a6c6226c8bcd2274be3af61484
remove LIBUUID things from nvme.h

We have this structure in linux/nvme.h already.

cc -D_GNU_SOURCE -D__CHECK_ENDIAN__ -O2 -g -Wall -Werror -std=gnu99 -I. -DNVME_VERSION='"1.9.22.g6936.dirty"' -Iutil -o nvme-print.o -c nvme-print.c
In file included from nvme.h:35:0,
                 from nvme-print.h:4,
                 from nvme-print.c:7:
linux/nvme.h:24:3: error: conflicting types for ‘uuid_t’
 } uuid_t;
   ^~~~~~
In file included from nvme-print.h:4:0,
                 from nvme-print.c:7:
nvme.h:32:3: note: previous declaration of ‘uuid_t’ was here
 } uuid_t;
   ^~~~~~
Makefile:70: recipe for target 'nvme-print.o' failed

Signed-off-by: Minwoo Im <minwoo.im@samsung.com>
nvme.h