Skip to content

Commit

Permalink
Close #3: shorter header guard
Browse files Browse the repository at this point in the history
  • Loading branch information
hmgle committed Aug 6, 2018
1 parent ccb58f4 commit cc1bfe1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions graftcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _GRAFTCP_H
#define _GRAFTCP_H
#ifndef GRAFTCP_H
#define GRAFTCP_H

#include <stdbool.h>
#include <unistd.h>
Expand All @@ -31,7 +31,7 @@
#include <sys/reg.h>
#include <sys/syscall.h>
#include <fcntl.h>
#include<linux/sched.h>
#include <linux/sched.h>
#include <assert.h>

#include "uthash.h"
Expand Down
4 changes: 2 additions & 2 deletions string-set.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _STRING_SET_H
#define _STRING_SET_H
#ifndef STRING_SET_H
#define STRING_SET_H

struct str_set {
int length;
Expand Down

0 comments on commit cc1bfe1

Please sign in to comment.