clang-format
This commit is contained in:
+1
-4
@@ -10,10 +10,10 @@
|
|||||||
|
|
||||||
#include "util/u_trace_marker.h"
|
#include "util/u_trace_marker.h"
|
||||||
|
|
||||||
|
#include "driver/configuration.h"
|
||||||
#include "wivrn_ipc.h"
|
#include "wivrn_ipc.h"
|
||||||
#include "wivrn_packets.h"
|
#include "wivrn_packets.h"
|
||||||
#include "wivrn_sockets.h"
|
#include "wivrn_sockets.h"
|
||||||
#include "driver/configuration.h"
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <sys/signalfd.h>
|
#include <sys/signalfd.h>
|
||||||
@@ -102,7 +102,6 @@ int create_listen_socket()
|
|||||||
throw std::system_error(errno, std::system_category());
|
throw std::system_error(errno, std::system_category());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// we use "socket activation" mode of monado,
|
// we use "socket activation" mode of monado,
|
||||||
// it requires fd to be SD_LISTEN_FDS_START, which is 3
|
// it requires fd to be SD_LISTEN_FDS_START, which is 3
|
||||||
assert(fd == 3);
|
assert(fd == 3);
|
||||||
@@ -227,7 +226,6 @@ int inner_main(int argc, char * argv[])
|
|||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pid_t client_pid = start_application();
|
pid_t client_pid = start_application();
|
||||||
|
|
||||||
pid_t server_pid = fork();
|
pid_t server_pid = fork();
|
||||||
@@ -323,7 +321,6 @@ int inner_main(int argc, char * argv[])
|
|||||||
// Write to the server's stdin to make it quit
|
// Write to the server's stdin to make it quit
|
||||||
char buffer[] = "\n";
|
char buffer[] = "\n";
|
||||||
(void)write(pipe_fds[1], &buffer, strlen(buffer));
|
(void)write(pipe_fds[1], &buffer, strlen(buffer));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Wait until both the server and the client exit
|
// Wait until both the server and the client exit
|
||||||
|
|||||||
Reference in New Issue
Block a user