aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/shell/ash.c b/shell/ash.c
index b1d22e5d2..ea10a65cf 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -127,13 +127,6 @@ static char optlist[NOPTS];
127 127
128/* ============ Misc data */ 128/* ============ Misc data */
129 129
130#ifdef __GLIBC__
131/* glibc sucks */
132static int *dash_errno;
133#undef errno
134#define errno (*dash_errno)
135#endif
136
137static char nullstr[1]; /* zero length string */ 130static char nullstr[1]; /* zero length string */
138static const char homestr[] = "HOME"; 131static const char homestr[] = "HOME";
139static const char snlfmt[] = "%s\n"; 132static const char snlfmt[] = "%s\n";
@@ -12734,10 +12727,6 @@ int ash_main(int argc, char **argv)
12734 struct jmploc jmploc; 12727 struct jmploc jmploc;
12735 struct stackmark smark; 12728 struct stackmark smark;
12736 12729
12737#ifdef __GLIBC__
12738 dash_errno = __errno_location();
12739#endif
12740
12741#if PROFILE 12730#if PROFILE
12742 monitor(4, etext, profile_buf, sizeof(profile_buf), 50); 12731 monitor(4, etext, profile_buf, sizeof(profile_buf), 50);
12743#endif 12732#endif