fixing header guards close issue #48

This commit is contained in:
zakird 2013-08-26 12:26:01 -04:00
parent 853524c2ae
commit 0d3ad52ee0
11 changed files with 22 additions and 22 deletions

View File

@ -8,8 +8,8 @@
#include <stdint.h>
#ifndef _AESRAND_H
#define _AESRAND_H
#ifndef AESRAND_H
#define AESRAND_H
void aesrand_init(uint32_t seed);

View File

@ -8,8 +8,8 @@
#include <stdint.h>
#ifndef _CYCLIC_H
#define _CYCLIC_H
#ifndef CYCLIC_H
#define CYCLIC_H
int cyclic_init(uint32_t, uint32_t);

View File

@ -6,8 +6,8 @@
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
#ifndef _GET_GATEWAY_H
#define _GET_GATEWAY_H
#ifndef GET_GATEWAY_H
#define GET_GATEWAY_H
#include <netinet/in.h>

View File

@ -6,8 +6,8 @@
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
#ifndef _MONITOR_H
#define _MONITOR_H
#ifndef MONITOR_H
#define MONITOR_H
void monitor_run();

View File

@ -6,8 +6,8 @@
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
#ifndef HEADER_OUTPUT_MODULES_H
#define HEADER_OUTPUT_MODULES_H
#ifndef OUTPUT_MODULES_H
#define OUTPUT_MODULES_H
#include "../state.h"

View File

@ -6,8 +6,8 @@
#include <netinet/ip_icmp.h>
#include <netinet/udp.h>
#ifndef HEADER_ZMAP_PACKET_H
#define HEADER_ZMAP_PACKET_H
#ifndef PACKET_H
#define PACKET_H
#define MAX_PACKET_SIZE 4096

View File

@ -1,7 +1,7 @@
#include "../state.h"
#ifndef HEADER_PROBE_MODULES_H
#define HEADER_PROBE_MODULES_H
#ifndef PROBE_MODULES_H
#define PROBE_MODULES_H
typedef struct probe_response_type {
const uint8_t is_success;

View File

@ -6,8 +6,8 @@
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
#ifndef _RECV_H
#define _RECV_H
#ifndef RECV_H
#define RECV_H
int recv_update_pcap_stats(void);
int recv_run(pthread_mutex_t *recv_ready_mutex);

View File

@ -6,8 +6,8 @@
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
#ifndef _SEND_H
#define _SEND_H
#ifndef SEND_H
#define SEND_H
int send_init(void);
int send_run(void);

View File

@ -13,8 +13,8 @@
#include <netinet/ether.h>
#include <net/if.h>
#ifndef _STATE_H
#define _STATE_H
#ifndef STATE_H
#define STATE_H
#define MAX_PACKET_SIZE 4096

View File

@ -6,8 +6,8 @@
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
#ifndef _VALIDATE_H
#define _VALIDATE_H
#ifndef VALIDATE_H
#define VALIDATE_H
#define VALIDATE_BYTES 16