utils: capture: Format with clang-format

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Ibc0bb3fa67d1163afe7c523f64b7314b7bc98844
diff --git a/utils/mctp-capture.c b/utils/mctp-capture.c
index e1c270e..05180ec 100644
--- a/utils/mctp-capture.c
+++ b/utils/mctp-capture.c
@@ -21,7 +21,7 @@
 	int rc;
 
 	if (cap->linktype < CAPTURE_LINKTYPE_FIRST ||
-			cap->linktype > CAPTURE_LINKTYPE_LAST) {
+	    cap->linktype > CAPTURE_LINKTYPE_LAST) {
 		fprintf(stderr,
 			"Invalid private linktype value %d: see https://www.tcpdump.org/linktypes.html\n",
 			cap->linktype);
diff --git a/utils/mctp-capture.h b/utils/mctp-capture.h
index e97d547..8babf2e 100644
--- a/utils/mctp-capture.h
+++ b/utils/mctp-capture.h
@@ -17,14 +17,14 @@
 typedef void pcap_dumper_t;
 #endif
 
-#define CAPTURE_LINKTYPE_FIRST	147
-#define CAPTURE_LINKTYPE_LAST	162
+#define CAPTURE_LINKTYPE_FIRST 147
+#define CAPTURE_LINKTYPE_LAST  162
 
 struct capture {
-	const char	*path;
-	int		linktype;
-	pcap_t		*pcap;
-	pcap_dumper_t	*dumper;
+	const char *path;
+	int linktype;
+	pcap_t *pcap;
+	pcap_dumper_t *dumper;
 };
 
 #if HAVE_PCAP
@@ -35,15 +35,14 @@
 void capture_socket(pcap_dumper_t *dumper, const void *buf, size_t len);
 #else
 #include <stdio.h>
-static inline int
-capture_init(void)
+static inline int capture_init(void)
 {
-	fprintf(stderr, "libpcap support is disabled, cannot initialise libpcap\n");
+	fprintf(stderr,
+		"libpcap support is disabled, cannot initialise libpcap\n");
 	return 0;
 }
 
-static inline int
-capture_prepare(struct capture *cap)
+static inline int capture_prepare(struct capture *cap)
 {
 	fprintf(stderr, "libpcap support is disabled, cannot capture to %s\n",
 		cap->path);
@@ -54,14 +53,13 @@
 {
 }
 
-static inline void
-capture_binding(struct mctp_pktbuf *pkt __unused, void *user __unused)
+static inline void capture_binding(struct mctp_pktbuf *pkt __unused,
+				   void *user __unused)
 {
 }
 
 static inline void capture_socket(pcap_dumper_t *dumper __unused,
-				  const void *buf __unused,
-				  size_t len __unused)
+				  const void *buf __unused, size_t len __unused)
 {
 }
 #endif