From: Keith Busch Date: Wed, 5 Oct 2016 23:23:28 +0000 (-0400) Subject: Fix nvme-models in makefile X-Git-Tag: v1.0~26 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9278b6eb4bad36829ef635eeadf48b700cb0ec06;p=users%2Fsagi%2Fnvme-cli.git Fix nvme-models in makefile From: Scott Bauer We're not sure why our system tested ok without this... Signed-off-by: Keith Busch --- diff --git a/Makefile b/Makefile index a01a20ca..117cbbea 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ NVME_DPKG_VERSION=1~`lsb_release -sc` OBJS := argconfig.o suffix.o parser.o nvme-print.o nvme-ioctl.o \ nvme-lightnvm.o fabrics.o json.o plugin.o intel-nvme.o \ - lnvm-nvme.o memblaze-nvme.o nvme-models.c + lnvm-nvme.o memblaze-nvme.o nvme-models.o nvme: nvme.c nvme.h $(OBJS) NVME-VERSION-FILE $(CC) $(CPPFLAGS) $(CFLAGS) nvme.c -o $(NVME) $(OBJS) $(LDFLAGS) diff --git a/nvme-models.h b/nvme-models.h index b8c6e521..a15cc21d 100644 --- a/nvme-models.h +++ b/nvme-models.h @@ -1,2 +1,4 @@ +#ifndef NVME_MODEL_H +#define NVME_MODEL_H char *nvme_product_name(int id); - +#endif