summaryrefslogtreecommitdiffstats
path: root/sh-i18n--envsubst.c
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2011-06-17 20:19:26 +0200
committerJunio C Hamano <gitster@pobox.com>2011-06-17 20:30:14 +0200
commit7c1fdd7019ea03438744849b9532cf768ba1247c (patch)
tree533856a1d74989c41b935d98b0a29e9e3e736a96 /sh-i18n--envsubst.c
parentMakefile: add xgettext target for *.sh files (diff)
downloadgit-7c1fdd7019ea03438744849b9532cf768ba1247c.tar.xz
git-7c1fdd7019ea03438744849b9532cf768ba1247c.zip
sh-i18n--envsubst.c: do not #include getopt.h
The getopt.h header file is not used. It's inclusion is left over from the original version of this source. Additionally, getopt.h does not exist on all platforms (SunOS 5.7) and will cause a compilation failure. So, let's remove it. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sh-i18n--envsubst.c')
-rw-r--r--sh-i18n--envsubst.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sh-i18n--envsubst.c b/sh-i18n--envsubst.c
index 71250930db..1153f8c47d 100644
--- a/sh-i18n--envsubst.c
+++ b/sh-i18n--envsubst.c
@@ -51,7 +51,6 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#include <errno.h>
-#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>