basic: rename util.h to logarithm.h
util.h is now about logarithms only, so we can rename it. Many files included util.h for no apparent reason… Those includes are dropped.
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
#include "parse-util.h"
|
||||
#include "string-table.h"
|
||||
#include "string-util.h"
|
||||
#include "util.h"
|
||||
|
||||
static const char* const fou_encap_type_table[_NETDEV_FOO_OVER_UDP_ENCAP_MAX] = {
|
||||
[NETDEV_FOO_OVER_UDP_ENCAP_DIRECT] = "FooOverUDP",
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include "socket-util.h"
|
||||
#include "string-table.h"
|
||||
#include "string-util.h"
|
||||
#include "util.h"
|
||||
|
||||
static const char* const l2tp_l2spec_type_table[_NETDEV_L2TP_L2SPECTYPE_MAX] = {
|
||||
[NETDEV_L2TP_L2SPECTYPE_NONE] = "none",
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#include "socket-util.h"
|
||||
#include "string-table.h"
|
||||
#include "string-util.h"
|
||||
#include "util.h"
|
||||
|
||||
static void security_association_clear(SecurityAssociation *sa) {
|
||||
if (!sa)
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#include "string-table.h"
|
||||
#include "string-util.h"
|
||||
#include "tunnel.h"
|
||||
#include "util.h"
|
||||
|
||||
#define DEFAULT_IPV6_TTL 64
|
||||
#define IP6_FLOWINFO_FLOWLABEL htobe32(0x000FFFFF)
|
||||
|
||||
Reference in New Issue
Block a user