#ifndef _FOO_H_ #define _FOO_H_ namespace foo { void myfunc (void); }; #endif // _FOO_H_