Continue cleanup

git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@74222 b8fc166d-592f-0410-95f2-cb63ce0dd405
This commit is contained in:
bemandawes
2011-09-04 13:51:49 +00:00
parent d04d3b903e
commit 95ccedc67b
6 changed files with 113 additions and 78 deletions
+2 -3
View File
@@ -16,7 +16,6 @@
#include <iostream>
#include <cstdio>
#include <boost/endian/integers.hpp>
#include <boost/detail/lightweight_main.hpp>
#include <boost/static_assert.hpp>
using namespace boost::endian;
@@ -39,9 +38,9 @@ namespace
const char * filename = "test.dat";
}
int cpp_main(int, char * [])
int main(int, char * [])
{
BOOST_STATIC_ASSERT( sizeof( header ) == 16U ); // requirement for interoperability
BOOST_STATIC_ASSERT( sizeof( header ) == 16U ); // check requirement
header h;