Skip to content

Commit

Permalink
remove compile-time dependency on githash changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ahupowerdns committed Feb 11, 2020
1 parent d533553 commit 572e8ef
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion galmonmon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "fmt/printf.h"
#include "ext/powerblog/h2o-pp.hh"
#include <variant>
#include "githash.h"

#include "CLI/CLI.hpp"
#include "version.hh"

Expand Down
2 changes: 1 addition & 1 deletion navcat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <dirent.h>
#include <inttypes.h>
#include "navmon.hh"
#include "githash.h"

#include "CLI/CLI.hpp"
#include "version.hh"

Expand Down
2 changes: 1 addition & 1 deletion navdisplay.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "navmon.pb.h"
#include <unistd.h>
#include "navmon.hh"
#include "githash.h"

#include "CLI/CLI.hpp"
#include "version.hh"

Expand Down
2 changes: 1 addition & 1 deletion navdump.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "sp3.hh"
#include "ubx.hh"
#include <unistd.h>
#include "githash.h"

#include "version.hh"
#include "gpscnav.hh"
#include "rinex.hh"
Expand Down
3 changes: 3 additions & 0 deletions navmon.hh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
#include <tuple>
#include <mutex>

extern const char* g_gitHash;


struct EofException{};
struct TimeoutError{};

Expand Down
2 changes: 1 addition & 1 deletion navnexus.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "storage.hh"
#include <dirent.h>
#include <inttypes.h>
#include "githash.h"

#include "CLI/CLI.hpp"
#include "version.hh"

Expand Down
2 changes: 1 addition & 1 deletion navparse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "navparse.hh"
#include <fenv.h>
#include "influxpush.hh"
#include "githash.h"

#include "CLI/CLI.hpp"
#include "gpscnav.hh"
#include "version.hh"
Expand Down
2 changes: 1 addition & 1 deletion navrecv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "githash.h"

#include "CLI/CLI.hpp"
#include "version.hh"

Expand Down
2 changes: 1 addition & 1 deletion reporter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "navmon.hh"
#include "fmt/format.h"
#include "fmt/printf.h"
#include "githash.h"

#include "CLI/CLI.hpp"
#include "version.hh"

Expand Down
2 changes: 1 addition & 1 deletion tlecatch.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "SGP4.h"
#include <string>
#include <time.h>
#include "githash.h"

#include "CLI/CLI.hpp"
#include "version.hh"

Expand Down
2 changes: 1 addition & 1 deletion ubxtool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "comboaddress.hh"
#include "swrappers.hh"
#include "sclasses.hh"
#include "githash.h"

#include "version.hh"

static char program[]="ubxtool";
Expand Down

0 comments on commit 572e8ef

Please sign in to comment.