[svn] commit: r1633 - /trunk/src/lib/xfr/fd_share.h

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Mar 23 10:46:13 UTC 2010


Author: zhanglikun
Date: Tue Mar 23 10:46:13 2010
New Revision: 1633

Log:
Add macro to avoid the header file being included twice.

Modified:
    trunk/src/lib/xfr/fd_share.h

Modified: trunk/src/lib/xfr/fd_share.h
==============================================================================
--- trunk/src/lib/xfr/fd_share.h (original)
+++ trunk/src/lib/xfr/fd_share.h Tue Mar 23 10:46:13 2010
@@ -1,3 +1,6 @@
+#ifndef FD_SHARE_H_
+#define FD_SHARE_H_
+
 #include <stdlib.h>
 
 namespace isc {
@@ -17,3 +20,5 @@
 
 } // End for namespace xfr
 } // End for namespace isc
+
+#endif




More information about the bind10-changes mailing list