Common: Move header guards over to pragma once

Also replaced C headers with the C++ equivalent ones
This commit is contained in:
Lioncash 2014-08-17 13:45:50 -04:00
parent d1c2b76ad1
commit 90e994471a
33 changed files with 41 additions and 146 deletions

View file

@ -2,9 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _FILEUTIL_H_
#define _FILEUTIL_H_
#pragma once
#include <fstream>
#include <cstdio>
@ -220,5 +218,3 @@ void OpenFStream(T& fstream, const std::string& filename, std::ios_base::openmod
fstream.open(filename.c_str(), openmode);
#endif
}
#endif