summaryrefslogtreecommitdiff
path: root/ppscheck.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-10-02 15:56:24 -0700
committerGary E. Miller <gem@rellim.com>2018-10-02 15:56:24 -0700
commit9377274624b43f58a3db74c5222d8df74e0ae72c (patch)
tree8b26bbd8af12d9360679853d904c48d1f4bd9949 /ppscheck.c
parenta41bd6c329032492571049e5e2453976a55c8760 (diff)
downloadgpsd-9377274624b43f58a3db74c5222d8df74e0ae72c.tar.gz
ppscheck: get REVISION from revision.h.
Yet another hard coded constant removed.
Diffstat (limited to 'ppscheck.c')
-rw-r--r--ppscheck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ppscheck.c b/ppscheck.c
index 1a6a9acc..027764e2 100644
--- a/ppscheck.c
+++ b/ppscheck.c
@@ -29,6 +29,7 @@
#include <sys/ioctl.h>
#include <errno.h>
#include <time.h>
+#include "revision.h"
struct assoc {
int mask;
@@ -83,7 +84,7 @@ int main(int argc, char *argv[])
usage();
exit(0);
case 'V':
- (void)printf("%s: %s\n", argv[0], "3.17");
+ (void)printf("%s: %s\n", argv[0], REVISION);
exit(EXIT_SUCCESS);
}
}