Merge branch 'normalize-trailing-newlines' into 'master'

Normalize C source files to end with exactly one newline

See merge request dbus/dbus!162
This commit is contained in:
Simon McVittie 2020-06-10 10:56:26 +00:00
commit f94696eb4f
21 changed files with 0 additions and 22 deletions

View file

@ -100,4 +100,3 @@ main (int argc, char **argv)
return retval;
}

View file

@ -546,4 +546,3 @@ error_free_parser:
error:
return retval;
}

View file

@ -192,4 +192,3 @@ bus_config_parser_element_type_to_name (ElementType type)
return NULL;
}
}

View file

@ -57,4 +57,3 @@ ElementType bus_config_parser_element_name_to_type (const char *element_name);
const char* bus_config_parser_element_type_to_name (ElementType type);
#endif /* BUS_CONFIG_PARSER_COMMON_H */

View file

@ -750,4 +750,3 @@ finish:
}
#endif /* DBUS_ENABLE_EMBEDDED_TESTS */

View file

@ -4056,4 +4056,3 @@ bus_config_parser_test (const char *test_data_dir_cstr)
}
#endif /* DBUS_ENABLE_EMBEDDED_TESTS */

View file

@ -1406,4 +1406,3 @@ bus_policy_check_can_own (BusPolicy *policy,
return bus_rules_check_can_own (policy->default_rules, service_name);
}
#endif /* DBUS_ENABLE_EMBEDDED_TESTS */

View file

@ -2984,4 +2984,3 @@ bus_signals_test (const char *test_data_dir _DBUS_GNUC_UNUSED)
}
#endif /* DBUS_ENABLE_EMBEDDED_TESTS */

View file

@ -83,4 +83,3 @@ dbus_clear_address_entries (DBusAddressEntry ***pointer_to_entries)
DBUS_END_DECLS
#endif /* DBUS_ADDRESS_H */

View file

@ -404,4 +404,3 @@ _dbus_create_file_exclusively (const DBusString *filename,
return TRUE;
}

View file

@ -25,4 +25,3 @@
#include <config.h>
#include "dbus-file.h"

View file

@ -70,4 +70,3 @@ _dbus_clear_loop (DBusLoop **pointer_to_loop)
#endif /* !DOXYGEN_SHOULD_SKIP_THIS */
#endif /* DBUS_MAINLOOP_H */

View file

@ -56,4 +56,3 @@ char *dbus_try_get_local_machine_id (DBusError *error);
DBUS_END_DECLS
#endif /* DBUS_MISC_H */

View file

@ -429,4 +429,3 @@ _dbus_transport_open_debug_pipe (DBusAddressEntry *entry,
/** @} */
#endif /* DBUS_ENABLE_EMBEDDED_TESTS */

View file

@ -598,4 +598,3 @@ _dbus_server_socket_own_filename (DBusServer *server,
/** @} */

View file

@ -93,4 +93,3 @@ _dbus_server_listen_platform_specific (DBusAddressEntry *entry,
}
/** @} */

View file

@ -37,5 +37,3 @@ dbus_bool_t _dbus_shell_parse_argv (const char *command_line,
DBUS_END_DECLS
#endif /* DBUS_SHELL_H */

View file

@ -1503,4 +1503,3 @@ _dbus_transport_open_socket(DBusAddressEntry *entry,
}
/** @} */

View file

@ -600,4 +600,3 @@ main (int argc, char *argv[])
fprintf (stderr, "Error: %s\n", error.message);
exit (1);
}

View file

@ -600,4 +600,3 @@ print_message (DBusMessage *message, dbus_bool_t literal, long sec, long usec)
fflush (stdout);
}

View file

@ -164,4 +164,3 @@ noconv:
*endptr = (char *)(any ? s - 1 : nptr);
return (acc);
}