freebsd-ports/audio/sidplay/files/patch-sid2wav.cpp
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

32 lines
670 B
C++

--- sid2wav.cpp.orig 2002-03-11 10:42:10 UTC
+++ sid2wav.cpp
@@ -18,9 +18,9 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-#include <iostream.h>
-#include <iomanip.h>
-#include <fstream.h>
+#include <iostream>
+#include <iomanip>
+#include <fstream>
#include <string.h>
#include <stdlib.h>
@@ -39,6 +39,16 @@
#include <sidplay/fformat.h>
#include <sidplay/myendian.h>
+using std::cerr;
+using std::cout;
+using std::endl;
+using std::dec;
+using std::flush;
+using std::hex;
+using std::ios;
+using std::setfill;
+using std::setw;
+
const char s2w_version[] = "1.8";
struct wav_hdr // little endian