Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wwiv committed Sep 14, 2019
1 parent 093bf25 commit c7579a6
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions wwivd/wwivd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,20 @@
/**************************************************************************/

#include <atomic>
#include <cctype>
#include <iostream>
#include <map>
#include <memory>
#include <mutex>
#include <string>
#include <thread>
#include <utility>

#include <signal.h>
#include <string>
#include <sys/types.h>
#include <vector>

#ifdef _WIN32

#include <WS2tcpip.h>
#include <process.h>

#else // _WIN32

Expand All @@ -47,26 +43,15 @@
#include <unistd.h>
#endif // __linux__

#include <cereal/access.hpp>
#include <cereal/archives/json.hpp>
#include <cereal/cereal.hpp>
#include <cereal/types/map.hpp>
#include <cereal/types/memory.hpp>
#include <cereal/types/string.hpp>
#include <cereal/types/vector.hpp>

#include "core/command_line.h"
#include "core/datetime.h"
#include "core/file.h"
#include "core/http_server.h"
#include "core/inifile.h"
#include "core/jsonfile.h"
#include "core/log.h"
#include "core/net.h"
#include "core/os.h"
#include "core/scope_exit.h"
#include "core/semaphore_file.h"
#include "core/socket_connection.h"
#include "core/stl.h"
#include "core/strings.h"
#include "core/version.h"
Expand Down Expand Up @@ -95,8 +80,7 @@ using namespace wwiv::os;
#undef DELETE
#endif // DELETE

namespace wwiv {
namespace wwivd {
namespace wwiv::wwivd {

extern std::atomic<bool> need_to_exit;
extern std::atomic<bool> need_to_reload_config;
Expand Down Expand Up @@ -216,7 +200,6 @@ int Main(CommandLine& cmdline) {
return EXIT_SUCCESS;
}

} // namespace wwivd
} // namespace wwiv

int main(int argc, char* argv[]) {
Expand Down

0 comments on commit c7579a6

Please sign in to comment.