Commit 3d011d4f authored by Roland Levillain's avatar Roland Levillain
Browse files

Add missing header guards.

	* libmd5/md5.hh,
	* src/config.hh.in,
	* test/fixtures/my_lib/lib.hh:
	Here.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4717 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent bfae1df2
2009-11-03 Roland Levillain <roland@lrde.epita.fr>
Add missing header guards.
* libmd5/md5.hh,
* src/config.hh.in,
* test/fixtures/my_lib/lib.hh:
Here.
2009-11-03 Roland Levillain <roland@lrde.epita.fr>
* README: Update.
......
......@@ -39,6 +39,9 @@ documentation and/or software.
*/
#ifndef MD5_HH
# define MD5_HH
#include <cstdio>
#include <fstream>
#include <iostream>
......@@ -107,3 +110,5 @@ private:
uint4 s, uint4 ac);
};
#endif // ! MD5_HH
......@@ -25,7 +25,12 @@
exception does not however invalidate any other reasons why the
executable file might be covered by the GNU General Public License. */
#define DYNDIR "@DYNDIR@"
#define DYN_DATADIR "@DYN_DATADIR@"
#define DYN_FIXTURES "@DYN_FIXTURES@"
#define MILENA_DIR "@MILENA_DIR@"
#ifndef DYN_CONFIG_HH
# define DYN_CONFIG_HH
# define DYNDIR "@DYNDIR@"
# define DYN_DATADIR "@DYN_DATADIR@"
# define DYN_FIXTURES "@DYN_FIXTURES@"
# define MILENA_DIR "@MILENA_DIR@"
#endif // ! DYN_CONFIG_HH
......@@ -25,10 +25,13 @@
// part of generic lib
#include <cmath>
#include <iostream>
#include <sstream> // Warning does not work without me
#include <vector>
#ifndef MY_LIB_LIB_HH
# define MY_LIB_LIB_HH
# include <cmath>
# include <iostream>
# include <sstream> // Warning does not work without me
# include <vector>
template <class T>
struct u
......@@ -126,8 +129,10 @@ namespace my_lib
std::ostream& ostr_;
};
#define stl_each(c, i) for (i = c.begin(); i != c.end(); ++i)
# define stl_each(c, i) for (i = c.begin(); i != c.end(); ++i)
#define echo(i) std::cout << i << std::endl
# define echo(i) std::cout << i << std::endl
} // end of my_lib
#endif // ! MY_LIB_LIB_HH
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment