]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev: drop leftover includes of getopt.h
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Wed, 13 May 2026 22:51:33 +0000 (00:51 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Sat, 16 May 2026 16:36:08 +0000 (18:36 +0200)
Not sure why those were left and why clang-tidy didn't complain.

src/udev/udev-builtin-path_id.c
src/udev/udev-builtin.c
src/udev/udevadm-util.c

index a252ec99dd79bdd97191c196f0ccbe8957275481..6d6108ee01b6ba7eab1a7639febf3391373e406d 100644 (file)
@@ -5,7 +5,6 @@
  * Logic based on Hannes Reinecke's shell script.
  */
 
-#include <getopt.h>
 #include <linux/usb/ch11.h>
 #include <stdio.h>
 #include <stdlib.h>
index f3c8936cad810a91bb2f230be0404ed6da3b4c84..80a8700a626f7b107267351c8eae41d69081aef8 100644 (file)
@@ -1,6 +1,5 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
-#include <getopt.h>
 #include <stdio.h>
 
 #include "alloc-util.h"
index 7e2420a77e8a981bfebb5cd936ba7f7dcf8f6aa3..8e90946960cef61aa7fd7de8c3be6042e5666e8f 100644 (file)
@@ -1,7 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 
-#include <getopt.h>
-
 #include "sd-bus.h"
 
 #include "alloc-util.h"