diff options
author | Sam James <sam@gentoo.org> | 2023-01-29 03:57:14 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-29 03:57:14 +0000 |
commit | 5dd019205cba747802b98c5283b8accf0ff47eda (patch) | |
tree | 9a96e194aa6afbeab3fa18d1f26b2eaac039299d | |
parent | fix-gnustack: doc: regenerate (diff) | |
download | elfix-master.tar.gz elfix-master.tar.bz2 elfix-master.zip |
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | misc/install-xattr/install-xattr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/install-xattr/install-xattr.c b/misc/install-xattr/install-xattr.c index 33b9fe1..1f53273 100644 --- a/misc/install-xattr/install-xattr.c +++ b/misc/install-xattr/install-xattr.c @@ -20,19 +20,19 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> +#include <ctype.h> #include <err.h> #include <fnmatch.h> -#include <ctype.h> #include <getopt.h> #include <libgen.h> -#include <unistd.h> +#include <stdlib.h> +#include <signal.h> +#include <string.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/stat.h> #include <sys/xattr.h> +#include <unistd.h> static char * xstrdup(const char *s) @@ -301,7 +301,7 @@ main(int argc, char* argv[]) while (1) { int option_index; int c = getopt_long(argc, argv_copy, "dt:g:m:o:S:Zb", long_options, &option_index); - + if (c == -1) break; |