"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Omar Polo <op@omarpolo.com>
Subject:
sort/remove includes in got-notify-email
To:
gameoftrees@openbsd.org
Date:
Tue, 23 Apr 2024 09:58:57 +0200

Download raw body.

Thread
triggers my OCD :)

sort and remove getopt.h (thankfully we don't use long options here :p)

diff /home/op/w/got
commit - 04a87797cb37c4787fdc83040ba75f0ddd60e46d
path + /home/op/w/got
blob - 16f1d741593d53dc9c972d53a4536edabae0301a
file + gotd/libexec/got-notify-email/got-notify-email.c
--- gotd/libexec/got-notify-email/got-notify-email.c
+++ gotd/libexec/got-notify-email/got-notify-email.c
@@ -18,18 +18,17 @@
 #include <sys/socket.h>
 
 #include <ctype.h>
+#include <err.h>
 #include <errno.h>
+#include <netdb.h>
 #include <poll.h>
+#include <pwd.h>
+#include <stdarg.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <stdarg.h>
-#include <stdint.h>
 #include <syslog.h>
-#include <getopt.h>
-#include <err.h>
-#include <pwd.h>
-#include <netdb.h>
 #include <time.h>
 #include <unistd.h>