libmctp-serial: Format with clang-format
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I5707481b48a916a15d860aea7a2aa7ccbf2faa67
diff --git a/.clang-ignore b/.clang-ignore
index ef2b83e..fdb3ee1 100644
--- a/.clang-ignore
+++ b/.clang-ignore
@@ -1,6 +1,5 @@
astlpc.c
core.c
-libmctp-serial.h
libmctp.h
serial.c
tests/test_bridge.c
diff --git a/libmctp-serial.h b/libmctp-serial.h
index a8fc0b4..dc7cb99 100644
--- a/libmctp-serial.h
+++ b/libmctp-serial.h
@@ -22,17 +22,16 @@
struct pollfd *pollfd);
int mctp_serial_read(struct mctp_binding_serial *serial);
-int mctp_serial_open_path(struct mctp_binding_serial *serial,
- const char *path);
+int mctp_serial_open_path(struct mctp_binding_serial *serial, const char *path);
void mctp_serial_open_fd(struct mctp_binding_serial *serial, int fd);
/* direct function call IO */
typedef int (*mctp_serial_tx_fn)(void *data, void *buf, size_t len)
__attribute__((warn_unused_result));
void mctp_serial_set_tx_fn(struct mctp_binding_serial *serial,
- mctp_serial_tx_fn fn, void *data);
-int mctp_serial_rx(struct mctp_binding_serial *serial,
- const void *buf, size_t len);
+ mctp_serial_tx_fn fn, void *data);
+int mctp_serial_rx(struct mctp_binding_serial *serial, const void *buf,
+ size_t len);
#ifdef __cplusplus
}