mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
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.
This commit is contained in:
parent
d08c079739
commit
b409c919a2
5 changed files with 509 additions and 509 deletions
1004
cursor/cursor-data.h
1004
cursor/cursor-data.h
File diff suppressed because it is too large
Load diff
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue