Skip to content

Commit b6bf99c

Browse files
committed
Refactor: libcrmcommon: Remove a few more unused includes from headers
Signed-off-by: Reid Wahl <[email protected]>
1 parent 216dfea commit b6bf99c

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

include/crm/common/actions.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2004-2024 the Pacemaker project contributors
2+
* Copyright 2004-2025 the Pacemaker project contributors
33
*
44
* The version control history for this file may have further details.
55
*
@@ -11,7 +11,6 @@
1111
#define PCMK__CRM_COMMON_ACTIONS__H
1212

1313
#include <stdbool.h> // bool
14-
#include <strings.h> // strcasecmp()
1514
#include <glib.h> // gboolean, guint
1615
#include <libxml/tree.h> // xmlNode
1716

include/crm/common/nodes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2004-2024 the Pacemaker project contributors
2+
* Copyright 2004-2025 the Pacemaker project contributors
33
*
44
* The version control history for this file may have further details.
55
*
@@ -11,7 +11,7 @@
1111
#define PCMK__CRM_COMMON_NODES__H
1212

1313
#include <stdbool.h> // bool
14-
#include <glib.h> // gboolean, GList, GHashTable
14+
#include <glib.h> // gboolean, GList
1515
#include <libxml/tree.h> // xmlNode
1616

1717
#include <crm/common/scheduler_types.h> // pcmk_resource_t, pcmk_scheduler_t

include/crm/common/nvpair.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2004-2024 the Pacemaker project contributors
2+
* Copyright 2004-2025 the Pacemaker project contributors
33
*
44
* The version control history for this file may have further details.
55
*
@@ -10,8 +10,7 @@
1010
#ifndef PCMK__CRM_COMMON_NVPAIR__H
1111
#define PCMK__CRM_COMMON_NVPAIR__H
1212

13-
#include <sys/time.h> // struct timeval
14-
#include <glib.h> // gpointer, gboolean, guint, GHashTable
13+
#include <glib.h> // gpointer, GHashTable
1514
#include <libxml/tree.h> // xmlNode
1615

1716
#include <crm/crm.h>

0 commit comments

Comments
 (0)