Skip to content

Commit

Permalink
rename header guards to avoid potential conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
zhemao committed Jan 8, 2012
1 parent e86f300 commit e29b5f0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions hashmap.h
@@ -1,5 +1,5 @@
#ifndef MAP_H
#define MAP_H
#ifndef __LIBDS_HASHMAP_H__
#define __LIBDS_HASHMAP_H__

/* A C implementation of a Hash Map.
Uses string keys but has void pointer values */
Expand Down
4 changes: 2 additions & 2 deletions heap.h
@@ -1,5 +1,5 @@
#ifndef __HEAP_H__
#define __HEAP_H__
#ifndef __LIBDS_HEAP_H__
#define __LIBDS_HEAP_H__

#include "vector.h"

Expand Down
4 changes: 2 additions & 2 deletions list.h
@@ -1,5 +1,5 @@
#ifndef LIST_H
#define LIST_H
#ifndef __LIBDS_LIST_H__
#define __LIBDS_LIST_H__

/* A C implementation of a doubly-linked list. Contains void pointer values.
Can be used as a LIFO stack of FIFO queue. */
Expand Down
4 changes: 2 additions & 2 deletions strutils.h
@@ -1,5 +1,5 @@
#ifndef __STRUTILS_H__
#define __STRUTILS_H__
#ifndef __LIBDS_STRUTILS_H__
#define __LIBDS_STRUTILS_H__

#include <stdio.h>

Expand Down
4 changes: 2 additions & 2 deletions vector.h
@@ -1,5 +1,5 @@
#ifndef VECTOR_H
#define VECTOR_H
#ifndef __LIBDS_VECTOR_H__
#define __LIBDS_VECTOR_H__

/* A C implementation of a vector, or dynamically expanding array. */

Expand Down

0 comments on commit e29b5f0

Please sign in to comment.