aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-11-11 16:29:22 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-11 16:29:22 -0800
commit63f45b80947cb0819673860f6970f483e2cab21d (patch)
tree6b0d46c7da70786c15ee893d8a48aa866ae3742c /include
parent85837ebdd7bb3e96a60e9b4c6af6c60d1273bc67 (diff)
parentb2d1a8adc9cf3bde32a18a1a1856641638a9c729 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
Diffstat (limited to 'include')
-rw-r--r--include/linux/idr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/idr.h b/include/linux/idr.h
index 7fb3ff9c7b0..d37c8d808b0 100644
--- a/include/linux/idr.h
+++ b/include/linux/idr.h
@@ -8,6 +8,10 @@
* Small id to pointer translation service avoiding fixed sized
* tables.
*/
+
+#ifndef __IDR_H__
+#define __IDR_H__
+
#include <linux/types.h>
#include <linux/bitops.h>
@@ -77,3 +81,5 @@ int idr_get_new_above(struct idr *idp, void *ptr, int starting_id, int *id);
void idr_remove(struct idr *idp, int id);
void idr_destroy(struct idr *idp);
void idr_init(struct idr *idp);
+
+#endif /* __IDR_H__ */