Commit b409c919 authored by Michael Vetter's avatar Michael Vetter Committed by Bryce Harrington

remove trailing whitespaces

Remove trailing whitespaces because they are not needed and jumping to
the end of al ine should do just that and not jump to the whitespace.
parent d08c0797
This diff is collapsed.
......@@ -365,7 +365,7 @@ start_element(void *data, const char *element_name, const char **atts)
ctx->protocol->uppercase_name = uppercase_dup(name);
ctx->protocol->description = NULL;
} else if (strcmp(element_name, "copyright") == 0) {
} else if (strcmp(element_name, "interface") == 0) {
if (name == NULL)
fail(&ctx->loc, "no interface name given");
......
......@@ -223,7 +223,7 @@ expected_fail_marshal(int expected_error, const char *format, ...)
{
struct wl_closure *closure;
static const uint32_t opcode = 4444;
static const struct wl_interface test_interface = {
static const struct wl_interface test_interface = {
.name = "test_object"
};
static struct wl_object sender = { 0 };
......@@ -412,13 +412,13 @@ TEST(connection_demarshal)
msg[0] = 400200;
msg[1] = 12;
msg[2] = 0;
demarshal(&data, "?s", msg, (void *) validate_demarshal_s);
demarshal(&data, "?s", msg, (void *) validate_demarshal_s);
release_marshal_data(&data);
}
static void
marshal_demarshal(struct marshal_data *data,
marshal_demarshal(struct marshal_data *data,
void (*func)(void), int size, const char *format, ...)
{
struct wl_closure *closure;
......@@ -501,7 +501,7 @@ TEST(connection_marshal_alot)
int i;
setup_marshal_data(&data);
/* We iterate enough to make sure we wrap the circular buffers
* for both regular data an fds. */
......
......@@ -103,7 +103,7 @@ validate_list(struct wl_list *list, int *reference, int length)
return 0;
i++;
}
if (i != length)
return 0;
......
......@@ -225,7 +225,7 @@ setup_marshal_data(struct marshal_data *data)
}
static void
marshal_demarshal(struct marshal_data *data,
marshal_demarshal(struct marshal_data *data,
void (*func)(void), int size, const char *format, ...)
{
struct wl_closure *closure;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment