Fix Header Guard naming: https://www.securecoding.cert.org/confluence/display/seccode/PRE06-C.+Enclose+header+files+in+an+inclusion+guard
This commit is contained in:
parent
12806bb28f
commit
e415c83039
|
@ -96,8 +96,8 @@ for my $field_id (sort { $a <=> $b } keys %$fields) {
|
|||
}
|
||||
|
||||
print {$target_h_file} <<DOC;
|
||||
#ifndef __IPFIX_RFC_H__
|
||||
#define __IPFIX_RFC_H__
|
||||
#ifndef IPFIX_RFC_H
|
||||
#define IPFIX_RFC_H
|
||||
|
||||
/* This file is autogenerated with script ipfix_csv_processor.pl */
|
||||
/* Please do not edit it directly */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __IPFIX_RFC_H__
|
||||
#define __IPFIX_RFC_H__
|
||||
#ifndef IPFIX_RFC_H
|
||||
#define IPFIX_RFC_H
|
||||
|
||||
/* This file is autogenerated with script ipfix_csv_processor.pl */
|
||||
/* Please do not edit it directly */
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
|
||||
/* NetFlow packet definitions */
|
||||
|
||||
#ifndef _NETFLOW_H
|
||||
#define _NETFLOW_H
|
||||
#ifndef NETFLOW_H
|
||||
#define NETFLOW_H
|
||||
|
||||
#include <map>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _NETMAP_PLUGIN_H
|
||||
#define _NETMAP_PLUGIN_H
|
||||
#ifndef NETMAP_PLUGIN_H
|
||||
#define NETMAP_PLUGIN_H
|
||||
|
||||
#include "../fastnetmon_types.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _PCAP_PLUGIN_H
|
||||
#define _PCAP_PLUGIN_H
|
||||
#ifndef PCAP_PLUGIN_H
|
||||
#define PCAP_PLUGIN_H
|
||||
|
||||
#include "../fastnetmon_types.h"
|
||||
#include <iostream>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _PFRING_PLUGIN_H
|
||||
#define _PFRING_PLUGIN_H
|
||||
#ifndef PFRING_PLUGIN_H
|
||||
#define PFRING_PLUGIN_H
|
||||
|
||||
#include "../fastnetmon_types.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _SFLOW_PLUGIN_H
|
||||
#define _SFLOW_PLUGIN_H
|
||||
#ifndef SFLOW_PLUGIN_H
|
||||
#define SFLOW_PLUGIN_H
|
||||
|
||||
#include "../fastnetmon_types.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue