Build with -Wall

This commit is contained in:
topjohnwu
2019-04-29 21:26:43 -04:00
parent 8d68ebb074
commit 00a9f18a1e
8 changed files with 25 additions and 26 deletions

View File

@@ -60,16 +60,16 @@ struct su_request : public su_req_base {
} __attribute__((packed));
struct su_context {
struct su_info *info;
struct su_request req;
su_info *info;
su_request req;
pid_t pid;
};
// connect.c
void app_log(struct su_context *ctx);
void app_notify(struct su_context *ctx);
void app_connect(const char *socket, struct su_info *info);
void socket_send_request(int fd, struct su_info *info);
void app_log(su_context *ctx);
void app_notify(su_context *ctx);
void app_connect(const char *socket, su_info *info);
void socket_send_request(int fd, su_info *info);
#endif