]> git.mxchange.org Git - flightgear.git/commitdiff
Some headers missing... ;)
authorChristian Schmitt <chris@ilovelinux.de>
Thu, 7 Feb 2013 18:00:54 +0000 (19:00 +0100)
committerChristian Schmitt <chris@ilovelinux.de>
Thu, 7 Feb 2013 18:00:54 +0000 (19:00 +0100)
38 files changed:
src/AIModel/AIFlightPlanCreate.cxx
src/AIModel/AIFlightPlanCreatePushBack.cxx
src/ATC/trafficcontrol.cxx
src/Aircraft/replay.cxx
src/Airports/xmlloader.cxx
src/Autopilot/route_mgr.cxx
src/Cockpit/NavDisplay.cxx
src/Environment/atmosphere.cxx
src/Environment/fgclouds.cxx
src/FDM/YASim/Rotor.cpp
src/FDM/YASim/YASim.cxx
src/Input/FGLinuxEventInput.cxx
src/Instrumentation/KLN89/kln89.cxx
src/Instrumentation/KLN89/kln89_page.cxx
src/Instrumentation/KLN89/kln89_page_alt.cxx
src/Instrumentation/KLN89/kln89_page_apt.cxx
src/Instrumentation/KLN89/kln89_page_cal.cxx
src/Instrumentation/KLN89/kln89_page_int.cxx
src/Instrumentation/KLN89/kln89_page_nav.cxx
src/Instrumentation/KLN89/kln89_page_ndb.cxx
src/Instrumentation/KLN89/kln89_page_oth.cxx
src/Instrumentation/KLN89/kln89_page_vor.cxx
src/Instrumentation/clock.cxx
src/Instrumentation/gps.cxx
src/Instrumentation/navradio.cxx
src/Main/metar_main.cxx
src/Network/ATC-Inputs.cxx
src/Network/ATC-Outputs.cxx
src/Network/AV400.cxx
src/Network/AV400Sim.cxx
src/Network/AV400WSim.cxx
src/Network/atlas.cxx
src/Network/garmin.cxx
src/Network/generic.cxx
src/Network/httpd.cxx
src/Network/nmea.cxx
utils/GPSsmooth/UGear_telnet.cxx
utils/fgviewer/fgviewer.cxx

index b19099d6fd9ecb13d267ad45400c8de7060fa86e..e9851862a4d4926ab174105f32ab27ed596316b7 100644 (file)
@@ -23,6 +23,7 @@
 #endif
 
 #include <cstdlib>
+#include <cstdio>
 
 #include "AIFlightPlan.hxx"
 #include <simgear/math/sg_geodesy.hxx>
index eeecfe70b8aa7dbe21cad1b8ddcf96570cedb0cd..d774f3b51494ef894cf3833d05f939229ee3e71f 100644 (file)
@@ -23,6 +23,7 @@
 #endif
 
 #include <cstdlib>
+#include <cstdio>
 
 #include <simgear/math/sg_geodesy.hxx>
 
index 8d5c801fb373f8bcd086f17bd4c28a783fb549b5..f35a02e88c6a2c7246b0183942aaf3fd0a52ccdf 100644 (file)
@@ -25,6 +25,7 @@
 #endif
 
 #include <algorithm>
+#include <cstdio>
 
 #include <osg/Geode>
 #include <osg/Geometry>
index cea3bf2637a0f2d4d542bf65fa7e5655a2af8c9d..f483f4f53769ebb2778bd190399eef5126cfa425 100644 (file)
@@ -25,6 +25,7 @@
 #  include "config.h"
 #endif
 
+#include <cstdio>
 #include <float.h>
 
 #include <simgear/constants.h>
index f30e169c77c9a34a31d023df739b2f141af149b4..8ff3eb1fdae00f22fbb268c7922702f384091175 100644 (file)
@@ -17,6 +17,8 @@
 #  include "config.h"
 #endif
 
+#include <cstdio>
+
 #include <simgear/misc/sg_path.hxx>
 #include <simgear/xml/easyxml.hxx>
 #include <simgear/misc/strutils.hxx>
index 337f2e9f2007751691e1fec38f7219d15cf98d66..4c41ebe7f4db9ca5c07b60b93db92385a6728fef 100644 (file)
@@ -31,6 +31,8 @@
 #include <time.h>
 #endif
 
+#include <cstdio>
+
 #include <simgear/compiler.h>
 
 #include "route_mgr.hxx"
index 9e9b0524a69d232f5854615151e07abae2f1b6e7..26720404a078f3504645c5899d514e622c8e9274 100644 (file)
@@ -46,6 +46,7 @@
 #include <simgear/misc/strutils.hxx>
 #include <simgear/math/sg_geodesy.hxx>
 
+#include <cstdio>
 #include <sstream>
 #include <iomanip>
 #include <iostream>             // for cout, endl
index 022ea540ec65a9045eadd131438bde3a87785b76..d3f8f59e77eaca4dcabd482bf20e9e8c4e7282f6 100644 (file)
@@ -7,6 +7,7 @@
 
 using namespace std;
 #include <iostream>
+#include <cstdio>
 
 const ISA_layer ISA_def[] = {
 //        0    1        2        3           4         5      6         7         8
index b7df4854c9baa58b02f2f84286c2cd9a71cb08eb..2374cd2360d29579d6d35f43823198baa5dc5812 100644 (file)
@@ -25,6 +25,7 @@
 #endif
 
 #include <cstring>
+#include <cstdio>
 #include <Main/fg_props.hxx>
 
 #include <simgear/constants.h>
index 79e5fd128ebc975304296913534d06d4b348eb17..ab1775af50594a5dccefb08a5bdfbc48941adb9c 100644 (file)
@@ -16,9 +16,8 @@
 #include <iostream>
 #include <iomanip>
 
-#ifdef TEST_DEBUG
+
 #include <stdio.h>
-#endif
 #include <string.h>
 #include <iostream>
 #include <sstream>
index a0f93c2f6381d7caab6afd0c06bb22c77319aaa0..fdd8dbf1091e0066b10b0cfa1f390ece51dda547 100644 (file)
@@ -4,6 +4,7 @@
 #endif
 
 #include <cstdlib>
+#include <cstdio>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/sg_geodesy.hxx>
index 4825861daba8f9da6339582735a2277fbbdedc3c..0d36a5749392625a7a4ded3a6c5d7e80c331a3f1 100644 (file)
@@ -23,6 +23,7 @@
 #endif
 
 #include <cstring>
+#include <cstdio>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include "FGLinuxEventInput.hxx"
index 79c96b929de4a44d962339893f2225c1d307aff0..4cb5074419df5d770ec658518488f85d0a3f0f55 100644 (file)
@@ -50,6 +50,8 @@
 #include <simgear/structure/commands.hxx>
 #include <Airports/simple.hxx>
 
+#include <cstdio>
+
 using std::cout;
 using std::string;
 
index 03a22ee88f6323980377e887f04b4937bf6b9d2f..24467f1388a4aa5799d3d258ab09c9c996730e25 100644 (file)
@@ -24,6 +24,8 @@
 #include "kln89_page.hxx"
 #include <Main/fg_props.hxx>
 
+#include <cstdio>
+
 using std::string;
 
 KLN89Page::KLN89Page(KLN89* parent) {
index 685febcdbfef19993e6452fde3e8290943d83f1c..0a0317834e0ee70977f6ad782af05ed695862078 100644 (file)
@@ -23,6 +23,8 @@
 #  include "config.h"
 #endif
 
+#include <cstdio>
+
 #include "kln89_page_alt.hxx"
 
 using std::string;
index ae25ca723c9298987d07c3f8592014101279d3eb..c89c0f299db3a775bf7001ee039c4fb4b5e1578b 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <simgear/structure/exception.hxx>
 #include <cassert>
+#include <cstdio>
 
 #include <ATC/CommStation.hxx>
 #include <Main/globals.hxx>
index 9b516d92074eb6e91c201b32ef1be9dc04631177..74b0937e28296af2ddb2cf47dc37cbf05fdda1e1 100644 (file)
@@ -26,6 +26,7 @@
 #endif
 
 #include <cstdlib>
+#include <cstdio>
 
 #include <Main/fg_props.hxx>
 #include "kln89_page_cal.hxx"
index ac3ac25b9d97fb90b748d6093b7f9637c0221bf0..bbd88315fc71d7286acf1edcd5efaf7c8af8a122 100644 (file)
@@ -25,6 +25,8 @@
 #  include "config.h"
 #endif
 
+#include <cstdio>
+
 #include "kln89_page_int.hxx"
 #include <Navaids/fix.hxx>
 #include <Navaids/navrecord.hxx>
index 05a79963d2a8d08126cbd67135bec5ba5fa09c71..f77f26e3b88a95a3dfd0010d8da9b6cc8de4bda6 100644 (file)
@@ -26,6 +26,7 @@
 #endif
 
 #include <cstdlib>
+#include <cstdio>
 
 #include "kln89_page_nav.hxx"
 #include <Main/fg_props.hxx>
index c621bba514d44176bfb593f4061f739af3665b5e..cecb7d5432dd1da7757e6cd09bb3a80fbdbb49e7 100644 (file)
@@ -25,6 +25,8 @@
 #  include "config.h"
 #endif
 
+#include <cstdio>
+
 #include "kln89_page_ndb.hxx"
 #include <Navaids/navrecord.hxx>
 
index 2ab41a1d0372c3334069b0d0862c1b10c5ecd32e..d88456addc2b57ba812c232c27b915a0a4bfe609 100644 (file)
@@ -25,6 +25,8 @@
 #  include "config.h"
 #endif
 
+#include <cstdio>
+
 #include "kln89_page_oth.hxx"
 
 using std::string;
index 0c6239c99b95163ffed05cc68b9c4ceae964fbf3..a6d2ad222053fca810a8428587d193783e450262 100644 (file)
@@ -25,6 +25,8 @@
 #  include "config.h"
 #endif
 
+#include <cstdio>
+
 #include "kln89_page_vor.hxx"
 #include <Navaids/navrecord.hxx>
 
index 86343cb47ebf0775cd52194365f8db62c88a3de2..39f6f582f0b9ad566cb298aecd197da0f8470817 100644 (file)
@@ -9,6 +9,8 @@
 #  include <config.h>
 #endif
 
+#include <cstdio>
+
 #include "clock.hxx"
 #include <simgear/timing/sg_time.hxx>
 #include <Main/fg_props.hxx>
index 7b9d24c10f7f8abd72f005c798d47d578cf0bd03..3c26a539ba0a10ebb949ff7050e8a24df907477b 100644 (file)
@@ -14,6 +14,7 @@
 #include <memory>
 #include <set>
 #include <cstring>
+#include <cstdio>
 
 #include "Main/fg_props.hxx"
 #include "Main/globals.hxx" // for get_subsystem
index 810bfeb95454f7bb5bd2fa884dcf39e66d058633..cc4acedd821c94cbe336b2bcf545c81db1c5410b 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <sstream>
 #include <cstring>
+#include <cstdio>
 
 #include <simgear/sg_inlines.h>
 #include <simgear/timing/sg_time.hxx>
index b1a39078afdb5d98df13fa9671493c7dd713ff97..e63e6763f95c4d36fe268e6987626a58feb8b727 100644 (file)
@@ -26,6 +26,7 @@
 #include <string.h>
 #include <time.h>
 #include <cstdlib>
+#include <cstdio>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/environment/metar.hxx>
index 4c4d0cceec772c88c44d6927aefcf0ea03671b2e..be59770f89fda441e7f2b9bdc8a26da1acfe0afd 100644 (file)
@@ -38,6 +38,7 @@
 
 #include <errno.h>
 #include <math.h>
+#include <cstdio>
 
 #include <string>
 
index becc423f19bb3e5c60e71dee518da7129b03f21a..dd9e32cdd936ffee6ebf05ed1046cf30bedcb020 100644 (file)
@@ -41,6 +41,7 @@
 #include <math.h>
 
 #include <string>
+#include <cstdio>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/misc/sg_path.hxx>
index e9a62a39f070fe1b577e0d171edea93c5bb36872..2915ccf601007b1a11e7bc5191bbbdb3a0218d3b 100644 (file)
@@ -25,6 +25,7 @@
 #  include "config.h"
 #endif
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 
index f7ad8486d716e9c032c9dd29c86ecce1cd0ed9fc..cbbe2b4950b6ef907f47c3b64d7950abe969d477 100644 (file)
@@ -31,6 +31,7 @@
 
 #include <cstdlib>
 #include <cstring>
+#include <cstdio>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/sg_geodesy.hxx>
index 6dd5033d8c6df2d2d8dd0d5b3ee4cf77a9b7890e..025bfddb084358049a2aa770c90ad8967ab40924 100644 (file)
@@ -41,6 +41,8 @@
 #  include "config.h"
 #endif
 
+#include <cstdio>
+
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/sg_geodesy.hxx>
 #include <simgear/io/iochannel.hxx>
index 29c4980fb16f041133b0ef54c05d144b828c1dc4..d5712f02e6fc75f93c44b6c746ec831a83e9909e 100644 (file)
@@ -24,6 +24,7 @@
 #  include "config.h"
 #endif
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 
index 0dddcbf0d0f357b570f362327a1233241e507958..3ae22d2a164f4cbdea783c36a6fd1f2612a736b9 100644 (file)
@@ -27,6 +27,7 @@
 #include <iostream>
 #include <cstdlib>
 #include <cstring>
+#include <cstdio>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/sg_geodesy.hxx>
index 43dc92a72def56a351c75d6fa498ea6437291909..1ee76c33c3ba70d71086e9a3a238ef6d7cadc37c 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <string.h>                // strstr()
 #include <stdlib.h>                // strtod(), atoi()
+#include <cstdio>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/io/iochannel.hxx>
index 206b553d62373875627eb96e006dc2f0845d4f9c..dca4c79bf8ec7e831dab9f301285801ded229491 100644 (file)
@@ -31,6 +31,7 @@
 #include <algorithm>           // sort()
 #include <cstdlib>             // atoi() atof()
 #include <cstring>
+#include <cstdio>
 #include <string>
 
 #include <simgear/debug/logstream.hxx>
index a5af33b54318db9b125eda89e626992a8e773ca8..28b92c54768f371234f348234cbd6b33e680df35 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <cstdlib>
 #include <cstring>
+#include <cstdio>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/sg_geodesy.hxx>
index bee0f851b8f0955763a662490e211a3cce4d595c..d380e01619e3005394dad9176f163762290f52f5 100644 (file)
@@ -27,6 +27,7 @@
 #include <simgear/structure/commands.hxx>
 #include <simgear/misc/strutils.hxx>
 
+#include <cstdio>
 #include <sstream>
 
 #include "UGear_command.hxx"
index 1e96dc46b5c53481662bb28286aa476517eadee7..8f9ef93ec791a67792073d0fc04873247d299757 100644 (file)
@@ -57,8 +57,8 @@ main(int argc, char** argv)
     // FIXME implement a flightgear similar argument parser into simgear and use this one
     osg::ArgumentParser arguments(&argc, argv);
 
-    logbuf::set_log_classes(SG_ALL);
-    logbuf::set_log_priority(SG_ALERT);
+    sglog().set_log_classes(SG_ALL);
+    sglog().set_log_priority(SG_ALERT);
 
     std::string fg_root;
     if (arguments.read("--fg-root", fg_root)) {