projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9abdc4c
)
include/linux: enclose idr.h in #ifndef
author
Luben Tuikov
<luben_tuikov@adaptec.com>
Tue, 8 Nov 2005 16:14:08 +0000
(17:14 +0100)
committer
Adrian Bunk
<bunk@r063144.stusta.swh.mhn.de>
Tue, 8 Nov 2005 16:14:08 +0000
(17:14 +0100)
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>
include/linux/idr.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/idr.h
b/include/linux/idr.h
index 7fb3ff9c7b0e4763b15b3ebf1aad0148a64f8e00..d37c8d808b0fdc274819555c2a1ba693523ca1c1 100644
(file)
--- 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__ */
This page took
0.025493 seconds
and
5
git commands to generate.