anitazha / rpms / ndctl

Forked from rpms/ndctl 2 years ago
Clone

Blame SOURCES/0079-build-Drop-unnecessary-tool-config.h-includes.patch

e0018b
From 3297995248081d31d282fc9a339894989ff94e23 Mon Sep 17 00:00:00 2001
e0018b
From: Dan Williams <dan.j.williams@intel.com>
e0018b
Date: Wed, 5 Jan 2022 13:32:37 -0800
e0018b
Subject: [PATCH 079/217] build: Drop unnecessary $tool/config.h includes
e0018b
e0018b
In preparation for support for meson as the build infrastructure remove
e0018b
some explicit config.h includes that will be replaced by a unified config.h
e0018b
at the top of the project.
e0018b
e0018b
Link: https://lore.kernel.org/r/164141835727.3990253.12971738434561351928.stgit@dwillia2-desk3.amr.corp.intel.com
e0018b
Tested-by: Alison Schofield <alison.schofield@intel.com>
e0018b
Tested-by: Vaibhav Jain <vaibhav@linux.ibm.com>
e0018b
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
e0018b
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
e0018b
---
e0018b
 daxctl/migrate.c | 1 -
e0018b
 ndctl/keys.c     | 1 -
e0018b
 ndctl/monitor.c  | 1 -
e0018b
 3 files changed, 3 deletions(-)
e0018b
e0018b
diff -up ndctl-71.1/daxctl/migrate.c.orig ndctl-71.1/daxctl/migrate.c
e0018b
--- ndctl-71.1/daxctl/migrate.c.orig	2020-12-22 16:44:57.000000000 -0500
e0018b
+++ ndctl-71.1/daxctl/migrate.c	2022-10-07 16:01:20.316634385 -0400
e0018b
@@ -5,7 +5,6 @@
e0018b
 #include <stdio.h>
e0018b
 #include <errno.h>
e0018b
 #include <fcntl.h>
e0018b
-#include <daxctl/config.h>
e0018b
 #include <daxctl/libdaxctl.h>
e0018b
 #include <util/parse-options.h>
e0018b
 #include <ccan/array_size/array_size.h>
e0018b
diff -up ndctl-71.1/ndctl/keys.c.orig ndctl-71.1/ndctl/keys.c
e0018b
--- ndctl-71.1/ndctl/keys.c.orig	2022-10-07 16:01:03.161575978 -0400
e0018b
+++ ndctl-71.1/ndctl/keys.c	2022-10-07 16:01:20.317634389 -0400
e0018b
@@ -13,7 +13,6 @@
e0018b
 #include <keyutils.h>
e0018b
 #include <syslog.h>
e0018b
 
e0018b
-#include <ndctl/config.h>
e0018b
 #include <ndctl/ndctl.h>
e0018b
 #include <ndctl/libndctl.h>
e0018b
 
e0018b
diff -up ndctl-71.1/ndctl/monitor.c.orig ndctl-71.1/ndctl/monitor.c
e0018b
--- ndctl-71.1/ndctl/monitor.c.orig	2022-10-07 16:01:03.164575988 -0400
e0018b
+++ ndctl-71.1/ndctl/monitor.c	2022-10-07 16:01:20.318634392 -0400
e0018b
@@ -10,7 +10,6 @@
e0018b
 #include <util/util.h>
e0018b
 #include <util/parse-options.h>
e0018b
 #include <util/strbuf.h>
e0018b
-#include <ndctl/config.h>
e0018b
 #include <ndctl/ndctl.h>
e0018b
 #include <ndctl/libndctl.h>
e0018b
 #include <sys/epoll.h>