[PATCH:luit] Remove nearly empty locale.c file

Alan Coopersmith alan.coopersmith at oracle.com
Mon Dec 2 16:32:04 PST 2013


Simply included a bunch of .h files and had no code of its own.

Flagged by Solaris ld -z guidance:
ld: guidance: removal of unused file recommended: locale.o

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 Makefile.am |    1 -
 locale.c    |    5 -----
 2 files changed, 6 deletions(-)
 delete mode 100644 locale.c

diff --git a/Makefile.am b/Makefile.am
index ef042e3..6932996 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,7 +34,6 @@ luit_SOURCES =		\
         charset.h	\
         iso2022.c	\
         iso2022.h	\
-        locale.c	\
         luit.c		\
         luit.h		\
         other.c		\
diff --git a/locale.c b/locale.c
deleted file mode 100644
index fe070d8..0000000
--- a/locale.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-
-#include "locale.h"
-- 
1.7.9.2



More information about the xorg-devel mailing list