aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/idr.h
diff options
context:
space:
mode:
authorLuben Tuikov <luben_tuikov@adaptec.com>2005-11-08 11:14:08 -0500
committerAdrian Bunk <bunk@r063144.stusta.swh.mhn.de>2005-11-08 11:14:08 -0500
commitf668ab1acc05fc3f525b97db613b2d1f99efd957 (patch)
treed27cc368f209e6a996443ce831bf822631efda33 /include/linux/idr.h
parent9abdc4cd8a81a3c29e051eb12963757ac60bd440 (diff)
include/linux: enclose idr.h in #ifndef
This patch encloses the idr.h header file in #ifndef __IDR_H__ macro. Signed-off-by: Luben Tuikov <luben_tuikov@adaptec.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'include/linux/idr.h')
-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 7fb3ff9c7b0e..d37c8d808b0f 100644
--- a/include/linux/idr.h
+++ b/include/linux/idr.h
@@ -8,6 +8,10 @@
8 * Small id to pointer translation service avoiding fixed sized 8 * Small id to pointer translation service avoiding fixed sized
9 * tables. 9 * tables.
10 */ 10 */
11
12#ifndef __IDR_H__
13#define __IDR_H__
14
11#include <linux/types.h> 15#include <linux/types.h>
12#include <linux/bitops.h> 16#include <linux/bitops.h>
13 17
@@ -77,3 +81,5 @@ int idr_get_new_above(struct idr *idp, void *ptr, int starting_id, int *id);
77void idr_remove(struct idr *idp, int id); 81void idr_remove(struct idr *idp, int id);
78void idr_destroy(struct idr *idp); 82void idr_destroy(struct idr *idp);
79void idr_init(struct idr *idp); 83void idr_init(struct idr *idp);
84
85#endif /* __IDR_H__ */