mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 09:48:47 +00:00
Everywhere: Remove unnecessary clang-format off
s
Mostly due to the fact that clang-format allows aligned comments via AlignTrailingComments. We could also use raw string literals in inline asm, which clang-format deals with properly (and would be nicer in a lot of places).
This commit is contained in:
parent
2119c9e801
commit
2479ead718
Notes:
sideshowbarker
2024-07-18 21:43:52 +09:00
Author: https://github.com/willmcpherson2
Commit: 2479ead718
Pull-request: https://github.com/SerenityOS/serenity/pull/5632
10 changed files with 8 additions and 29 deletions
|
@ -648,7 +648,6 @@ struct ifreq {
|
|||
unsigned int ifru_index;
|
||||
} ifr_ifru;
|
||||
|
||||
// clang-format off
|
||||
#define ifr_addr ifr_ifru.ifru_addr // address
|
||||
#define ifr_dstaddr ifr_ifru.ifru_dstaddr // other end of p-to-p link
|
||||
#define ifr_broadaddr ifr_ifru.ifru_broadaddr // broadcast address
|
||||
|
@ -665,7 +664,6 @@ struct ifreq {
|
|||
#define ifr_index ifr_ifru.ifru_index // interface index
|
||||
#define ifr_llprio ifr_ifru.ifru_metric // link layer priority
|
||||
#define ifr_hwaddr ifr_ifru.ifru_hwaddr // MAC address
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
struct rtentry {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue