clean up includes

include what you use and style fixups.
This commit is contained in:
Tully Foote 2017-11-14 13:01:26 -08:00
parent 091d58858a
commit 40d899adfd
14 changed files with 19 additions and 17 deletions

View file

@ -22,6 +22,7 @@ extern "C"
#include <stdio.h>
#include <string.h>
#include "rcl/error_handling.h"
#include "rcl/expand_topic_name.h"
#include "rcutils/logging_macros.h"
#include "rmw/error_handling.h"

View file

@ -22,6 +22,7 @@ extern "C"
#include <stdlib.h>
#include "rcl/allocator.h"
#include "rcl/error_handling.h"
#if defined(_WIN32)
# define WINDOWS_ENV_BUFFER_SIZE 2048

View file

@ -20,7 +20,6 @@ extern "C"
{
#endif
#include "rcl/error_handling.h"
#include "rcl/types.h"
/// Retrieve the value of the given environment variable if it exists, or "".

View file

@ -19,12 +19,13 @@ extern "C"
#include "rcl/graph.h"
#include <rcutils/allocator.h>
#include <rcutils/types.h>
#include <rmw/get_service_names_and_types.h>
#include <rmw/get_topic_names_and_types.h>
#include <rmw/names_and_types.h>
#include <rmw/rmw.h>
#include "rcl/error_handling.h"
#include "rcutils/allocator.h"
#include "rcutils/types.h"
#include "rmw/get_service_names_and_types.h"
#include "rmw/get_topic_names_and_types.h"
#include "rmw/names_and_types.h"
#include "rmw/rmw.h"
#include "./common.h"

View file

@ -19,7 +19,7 @@ extern "C"
#include "rcl/guard_condition.h"
#include "./common.h"
#include "rcl/error_handling.h"
#include "rcl/rcl.h"
#include "rmw/error_handling.h"
#include "rmw/rmw.h"

View file

@ -24,6 +24,7 @@ extern "C"
#include <stdlib.h>
#include <string.h>
#include "rcl/error_handling.h"
#include "rcl/rcl.h"
#include "rcutils/filesystem.h"
#include "rcutils/get_env.h"

View file

@ -22,8 +22,8 @@ extern "C"
#include <stdio.h>
#include <string.h>
#include "./common.h"
#include "rcl/allocator.h"
#include "rcl/error_handling.h"
#include "rcl/expand_topic_name.h"
#include "rcutils/logging_macros.h"
#include "rmw/error_handling.h"

View file

@ -21,7 +21,6 @@ extern "C"
#include <string.h>
#include "./common.h"
#include "./stdatomic_helper.h"
#include "rcl/error_handling.h"
#include "rmw/error_handling.h"

View file

@ -21,8 +21,9 @@ extern "C"
#include <stdlib.h>
#include <string.h>
#include <rcutils/logging_macros.h>
#include <rmw/rmw.h>
#include "rcl/error_handling.h"
#include "rcutils/logging_macros.h"
#include "rmw/rmw.h"
#include "rcl/types.h"
#include "./common.h"

View file

@ -22,7 +22,7 @@ extern "C"
#include <stdio.h>
#include <string.h>
#include "./common.h"
#include "rcl/error_handling.h"
#include "rcl/expand_topic_name.h"
#include "rcutils/logging_macros.h"
#include "rmw/error_handling.h"

View file

@ -21,7 +21,7 @@ extern "C"
#include <stdio.h>
#include "./common.h"
#include "rcl/error_handling.h"
#include "rcl/expand_topic_name.h"
#include "rcutils/logging_macros.h"
#include "rmw/error_handling.h"

View file

@ -19,8 +19,8 @@ extern "C"
#include "rcl/timer.h"
#include "./common.h"
#include "./stdatomic_helper.h"
#include "rcl/error_handling.h"
#include "rcutils/time.h"
typedef struct rcl_timer_impl_t

View file

@ -22,8 +22,8 @@ extern "C"
#include <ctype.h>
#include <string.h>
#include "./common.h"
#include "rcl/allocator.h"
#include "rcl/error_handling.h"
#include "rcutils/isalnum_no_locale.h"
rcl_ret_t

View file

@ -23,7 +23,6 @@ extern "C"
#include <stdbool.h>
#include <string.h>
#include "./common.h"
#include "./stdatomic_helper.h"
#include "rcl/error_handling.h"
#include "rcl/time.h"