mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Fix format errors
Fix formatting violations, update blacklist to reflect moved files. PR #10556 passed CI before the new formating rules were added, and our CI has the race condition of allowing old results, resulting in master getting broken.
This commit is contained in:
parent
840267491e
commit
037c8d771d
3 changed files with 8 additions and 10 deletions
|
@ -5,7 +5,7 @@
|
|||
#include "file-descriptor.hh"
|
||||
|
||||
#ifdef _WIN32
|
||||
# include <winsock2.h>
|
||||
# include <winsock2.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
|
||||
|
@ -21,7 +21,6 @@ AutoCloseFD createUnixDomainSocket();
|
|||
*/
|
||||
AutoCloseFD createUnixDomainSocket(const Path & path, mode_t mode);
|
||||
|
||||
|
||||
/**
|
||||
* Often we want to use `Descriptor`, but Windows makes a slightly
|
||||
* stronger file descriptor vs socket distinction, at least at the level
|
||||
|
@ -39,7 +38,7 @@ using Socket =
|
|||
/**
|
||||
* Windows gives this a different name
|
||||
*/
|
||||
# define SHUT_WR SD_SEND
|
||||
# define SHUT_WR SD_SEND
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -70,7 +69,6 @@ static inline Descriptor fromSocket(Socket fd)
|
|||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Bind a Unix domain socket to a path.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue