[monitoring-plugins] Comment some endifs to make comprehension easier

RincewindsHat git at monitoring-plugins.org
Sun Oct 1 23:30:12 CEST 2023


 Module: monitoring-plugins
 Branch: master
 Commit: 11487d161c6ca3152ab3fa6dbece8d0e2d18ea46
 Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
   Date: Sun Oct  1 14:03:34 2023 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=11487d1

Comment some endifs to make comprehension easier

---

 plugins-root/check_dhcp.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c
index 0c18d5f..d74d4ac 100644
--- a/plugins-root/check_dhcp.c
+++ b/plugins-root/check_dhcp.c
@@ -57,9 +57,10 @@ const char *email = "devel at monitoring-plugins.org";
 #include <netinet/in.h>
 #include <net/if.h>
 #include <arpa/inet.h>
+
 #if HAVE_SYS_SOCKIO_H
 #include <sys/sockio.h>
-#endif
+#endif // HAVE_SYS_SOCKIO_H
 
 #if defined( __linux__ )
 
@@ -106,7 +107,7 @@ static int dl_open(const char *, int, int *);
 static int dl_bind(int, int, u_char *);
 long mac_addr_dlpi( const char *, int, u_char *);
 
-#endif
+#endif // __sun__ || __solaris__ || __hpux
 
 
 



More information about the Commits mailing list