Uncrustify 0.67 (#266)

* fix indentation to comply with uncrusity 0.67

* fix spacing to comply with uncrusity 0.67
This commit is contained in:
Mikael Arguedas 2018-07-11 08:31:06 -07:00 committed by GitHub
parent 9a9762f175
commit 16159adfc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -38,7 +38,7 @@ extern "C"
#pragma section(".CRT$XCU", read) #pragma section(".CRT$XCU", read)
#define INITIALIZER2_(f, p) \ #define INITIALIZER2_(f, p) \
static void f(void); \ static void f(void); \
__declspec(allocate(".CRT$XCU")) void (*f ## _)(void) = f; \ __declspec(allocate(".CRT$XCU")) void(*f ## _)(void) = f; \
__pragma(comment(linker, "/include:" p #f "_")) \ __pragma(comment(linker, "/include:" p #f "_")) \
static void f(void) static void f(void)
#ifdef _WIN64 #ifdef _WIN64

View file

@ -304,7 +304,7 @@ rcl_wait_set_get_allocator(const rcl_wait_set_t * wait_set, rcl_allocator_t * al
} \ } \
ExtraDealloc \ ExtraDealloc \
} else { \ } else { \
wait_set->Type ## s = (const rcl_ ## Type ## _t * *)allocator.reallocate( \ wait_set->Type ## s = (const rcl_ ## Type ## _t **)allocator.reallocate( \
(void *)wait_set->Type ## s, sizeof(rcl_ ## Type ## _t *) * size, allocator.state); \ (void *)wait_set->Type ## s, sizeof(rcl_ ## Type ## _t *) * size, allocator.state); \
RCL_CHECK_FOR_NULL_WITH_MSG( \ RCL_CHECK_FOR_NULL_WITH_MSG( \
wait_set->Type ## s, "allocating memory failed", \ wait_set->Type ## s, "allocating memory failed", \