From 3e252ca8352fc15e55bb6570bf90b38b877a1ae9 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 3 Nov 2014 20:37:39 +0000 Subject: [PATCH] Remove ioctl header file names from the executable * defs.h (struct ioctlent): Remove "doth" field. * Makefile.am ($(ioctlent_h)): Remove 1st field. --- Makefile.am | 3 ++- defs.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index fa6e73e6..f23dee61 100644 --- a/Makefile.am +++ b/Makefile.am @@ -315,4 +315,5 @@ $(ioctlent_h): $(top_builddir)/config.status $(ioctlent_h_deps) $(MKDIR_P) $(builddir)/$(OS) cat $(ioctlent_h_deps) | \ $(COMPILE) -E -P - | \ - LC_ALL=C sort -u -k3,3 -k2,2 > $@ + sed 's/^\([[:space:]]*{\)"[^"]\+",[[:space:]]*/\1/' | \ + LC_ALL=C sort -u -k2,2 -k1,1 > $@ diff --git a/defs.h b/defs.h index d41af968..c75da148 100644 --- a/defs.h +++ b/defs.h @@ -395,7 +395,6 @@ typedef struct sysent { } struct_sysent; typedef struct ioctlent { - const char *doth; const char *symbol; unsigned long code; } struct_ioctlent; -- 2.40.0