Add a guard #ifndef to test_intarray.h to prevent harm if it is #included

more than once.  Add a comment on the closing #endif of the guards on
sqlite3.h and test_multiplex.h.

FossilOrigin-Name: 0ad83ceb79767738bd06a28840cf84da0464ab4f
This commit is contained in:
drh
2013-08-07 14:18:45 +00:00
parent 4a6fc3596b
commit 3b449ee481
5 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -7228,4 +7228,4 @@ int sqlite3_vtab_on_conflict(sqlite3 *);
#ifdef __cplusplus
} /* End of the 'extern "C"' block */
#endif
#endif
#endif /* _SQLITE3_H_ */
+3
View File
@@ -75,6 +75,8 @@
** action to free the intarray objects.
*/
#include "sqlite3.h"
#ifndef _INTARRAY_H_
#define _INTARRAY_H_
/*
** Make sure we can call this stuff from C++.
@@ -123,3 +125,4 @@ int sqlite3_intarray_bind(
#ifdef __cplusplus
} /* End of the 'extern "C"' block */
#endif
#endif /* _INTARRAY_H_ */
+1 -1
View File
@@ -96,4 +96,4 @@ extern int sqlite3_multiplex_shutdown(void);
} /* End of the 'extern "C"' block */
#endif
#endif
#endif /* _TEST_MULTIPLEX_H */