diff options
author | Alex Polcyn <apolcyn@google.com> | 2018-03-01 19:22:53 +0000 |
---|---|---|
committer | Alexander Polcyn <apolcyn@google.com> | 2018-03-20 23:51:23 -0700 |
commit | 77f64f76bd502ba8350a64fd29623e3af92e5586 (patch) | |
tree | 539179041b3ee6a47cc3ce00dee9e1e782221d04 /third_party/address_sorting | |
parent | 47a92893a3f80238fbe9f761db4fc3dc79fbd6de (diff) |
Put address_sorting's public header under its own directory. Also add
test_only to sort function used in test.
Diffstat (limited to 'third_party/address_sorting')
-rw-r--r-- | third_party/address_sorting/BUILD | 4 | ||||
-rw-r--r-- | third_party/address_sorting/address_sorting_internal.h | 3 | ||||
-rw-r--r-- | third_party/address_sorting/include/address_sorting/address_sorting.h (renamed from third_party/address_sorting/address_sorting.h) | 0 |
3 files changed, 4 insertions, 3 deletions
diff --git a/third_party/address_sorting/BUILD b/third_party/address_sorting/BUILD index defa0851aa..7d5fb9d7ed 100644 --- a/third_party/address_sorting/BUILD +++ b/third_party/address_sorting/BUILD @@ -50,11 +50,11 @@ address_sorting_cc_library( "address_sorting_windows.c", ], hdrs = [ - "address_sorting.h", + "include/address_sorting/address_sorting.h", "address_sorting_internal.h", ], copts = ["-std=c99"], includes = [ - ".", + "include", ], ) diff --git a/third_party/address_sorting/address_sorting_internal.h b/third_party/address_sorting/address_sorting_internal.h index 3966002b47..be59d44fee 100644 --- a/third_party/address_sorting/address_sorting_internal.h +++ b/third_party/address_sorting/address_sorting_internal.h @@ -61,7 +61,8 @@ #endif #include <stdbool.h> -#include "address_sorting.h" + +#include <address_sorting/address_sorting.h> address_sorting_source_addr_factory* address_sorting_create_source_addr_factory_for_current_platform(); diff --git a/third_party/address_sorting/address_sorting.h b/third_party/address_sorting/include/address_sorting/address_sorting.h index f11cd424b5..f11cd424b5 100644 --- a/third_party/address_sorting/address_sorting.h +++ b/third_party/address_sorting/include/address_sorting/address_sorting.h |