Skip to content

Commit 1ca0319

Browse files
committed
nbft: include nvme/types.h instead nvme/util.h
Include nvme/types.h directly instead via nvme/util.h Signed-off-by: Daniel Wagner <[email protected]>
1 parent 9e75e18 commit 1ca0319

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

libnvme/src/nvme/nbft.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@
66
* Authors: Stuart Hayes <[email protected]>
77
*
88
*/
9-
#ifndef _NBFT_H
10-
#define _NBFT_H
9+
#pragma once
1110

1211
#include <sys/types.h>
1312

14-
#include <nvme/util.h>
13+
#include <nvme/types.h>
1514

1615
/**
1716
* DOC: nbft.h
@@ -1252,5 +1251,3 @@ int nvme_nbft_read(struct nvme_global_ctx *ctx, struct nbft_info **nbft,
12521251
* @nbft: Parsed NBFT table data.
12531252
*/
12541253
void nvme_nbft_free(struct nvme_global_ctx *ctx, struct nbft_info *nbft);
1255-
1256-
#endif

0 commit comments

Comments
 (0)