diff options
author | Elliott Hughes <enh@google.com> | 2024-03-15 19:10:40 +0000 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2024-03-15 19:10:40 +0000 |
commit | 70323e8b1f9da2c10cfeda058ef47cc3e5f55043 (patch) | |
tree | 317bc56e5bc6dc1f06f0b3dd5aca403f906fc9bf | |
parent | 40722a77f8fec020fa6e0b3595c9a10c309577a4 (diff) | |
download | netd-70323e8b1f9da2c10cfeda058ef47cc3e5f55043.tar.gz |
Stop using dead __STDC_FORMAT_MACROS macro.
None of our libcs need this any more.
Change-Id: I7b3f5cb911fffe25dc47520570451ecf95a0a696
-rw-r--r-- | server/BandwidthController.cpp | 4 | ||||
-rw-r--r-- | server/XfrmController.cpp | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/server/BandwidthController.cpp b/server/BandwidthController.cpp index 438dbb8d..6be59224 100644 --- a/server/BandwidthController.cpp +++ b/server/BandwidthController.cpp @@ -25,15 +25,13 @@ #include <ctype.h> #include <errno.h> #include <fcntl.h> +#include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <string> #include <vector> -#define __STDC_FORMAT_MACROS 1 -#include <inttypes.h> - #include <sys/socket.h> #include <sys/stat.h> #include <sys/types.h> diff --git a/server/XfrmController.cpp b/server/XfrmController.cpp index 1c06b477..e8b83da3 100644 --- a/server/XfrmController.cpp +++ b/server/XfrmController.cpp @@ -23,13 +23,11 @@ #include <errno.h> #include <fcntl.h> #include <getopt.h> +#include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#define __STDC_FORMAT_MACROS -#include <inttypes.h> - #include <arpa/inet.h> #include <net/if.h> #include <netinet/in.h> |