diff options
author | Gary E. Miller <gem@rellim.com> | 2018-10-02 15:56:24 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-10-02 15:56:24 -0700 |
commit | 9377274624b43f58a3db74c5222d8df74e0ae72c (patch) | |
tree | 8b26bbd8af12d9360679853d904c48d1f4bd9949 /ppscheck.c | |
parent | a41bd6c329032492571049e5e2453976a55c8760 (diff) | |
download | gpsd-9377274624b43f58a3db74c5222d8df74e0ae72c.tar.gz |
ppscheck: get REVISION from revision.h.
Yet another hard coded constant removed.
Diffstat (limited to 'ppscheck.c')
-rw-r--r-- | ppscheck.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); } } |