summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-05-31 13:19:52 +0200
committerMichael Adam <obnox@samba.org>2011-05-31 18:37:29 +0200
commitc2887f060954bd0e77bc6f3ac8fedec38e26c168 (patch)
tree1f1c45e47d9fe20f239e6414fbb7b91076c2c02c
parent2b8803d458465508d0f4299248d858b9c393323e (diff)
downloadsamba-c2887f060954bd0e77bc6f3ac8fedec38e26c168.tar.gz
samba-c2887f060954bd0e77bc6f3ac8fedec38e26c168.tar.bz2
samba-c2887f060954bd0e77bc6f3ac8fedec38e26c168.zip
s3: add _LIB_IDMAP_CACHE_H_ guard to lib/idmap_cache.h
-rw-r--r--source3/lib/idmap_cache.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/idmap_cache.h b/source3/lib/idmap_cache.h
index c3e44c2887..1a62dba64f 100644
--- a/source3/lib/idmap_cache.h
+++ b/source3/lib/idmap_cache.h
@@ -18,6 +18,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _LIB_IDMAP_CACHE_H_
+#define _LIB_IDMAP_CACHE_H_
+
/* The following definitions come from lib/idmap_cache.c */
bool idmap_cache_find_sid2uid(const struct dom_sid *sid, uid_t *puid,
@@ -32,3 +35,5 @@ void idmap_cache_set_sid2gid(const struct dom_sid *sid, gid_t gid);
bool idmap_cache_del_uid(uid_t uid);
bool idmap_cache_del_gid(gid_t gid);
bool idmap_cache_del_sid(const struct dom_sid *sid);
+
+#endif /* _LIB_IDMAP_CACHE_H_ */