use #pragma once

This commit is contained in:
Garux
2021-10-22 02:19:50 +03:00
parent 3362f29500
commit bf6389fc26
374 changed files with 400 additions and 1565 deletions

View File

@@ -19,4 +19,6 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#pragma once
Archive* OpenArchive( const char* name );

View File

@@ -19,8 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_PKZIP_H )
#define INCLUDED_PKZIP_H
#pragma once
#include "bytestreamutils.h"
#include "idatastream.h"
@@ -253,5 +252,3 @@ inline SeekableStream::position_type pkzip_find_disk_trailer( SeekableInputStrea
return 0;
}
}
#endif

View File

@@ -19,7 +19,4 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_PLUGIN_H )
#define INCLUDED_PLUGIN_H
#endif
#pragma once

View File

@@ -19,8 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_ZLIBSTREAM_H )
#define INCLUDED_ZLIBSTREAM_H
#pragma once
#include "zlib.h"
#include "idatastream.h"
@@ -64,5 +63,3 @@ public:
return length - m_zipstream.avail_out;
}
};
#endif