summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-11-09 13:01:33 +0000
committerJim Meyering <jim@meyering.net>1993-11-09 13:01:33 +0000
commitb3fc62063a0082718945d41cee4bffe054142fbd (patch)
tree95dfd0f58e7b682b69ae36951c4a65ac263e5f03
parentad3961d74aa9a8984e26dd9c6e47fae42dd27182 (diff)
downloadgnulib-b3fc62063a0082718945d41cee4bffe054142fbd.tar.gz
GNU shell utilities
-rw-r--r--lib/getdate.y2
-rw-r--r--lib/putenv.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/getdate.y b/lib/getdate.y
index df1a08a98d..1d56904238 100644
--- a/lib/getdate.y
+++ b/lib/getdate.y
@@ -97,7 +97,7 @@ void *alloca ();
#undef timezone /* needed for sgi */
#endif
-#if defined(HAVE_SYS_TIMEB_H) || (!defined(USG) && defined(HAVE_FTIME))
+#if defined(HAVE_SYS_TIMEB_H)
#include <sys/timeb.h>
#else
/*
diff --git a/lib/putenv.c b/lib/putenv.c
index b9f4912843..47f7256e58 100644
--- a/lib/putenv.c
+++ b/lib/putenv.c
@@ -106,7 +106,8 @@ putenv (string)
char **new_environ = (char **) malloc ((size + 2) * sizeof (char *));
if (new_environ == NULL)
return -1;
- (void) bcopy ((char *) environ, (char *) new_environ, size * sizeof (char *));
+ (void) bcopy ((char *) environ, (char *) new_environ,
+ size * sizeof (char *));
new_environ[size] = (char *) string;
new_environ[size + 1] = NULL;
if (last_environ != NULL)