summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/dl-environ.c2
-rw-r--r--sysdeps/generic/ldsodefs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/dl-environ.c b/sysdeps/generic/dl-environ.c
index e13bb5d792..53fa869aeb 100644
--- a/sysdeps/generic/dl-environ.c
+++ b/sysdeps/generic/dl-environ.c
@@ -58,7 +58,7 @@ unsetenv (const char *name)
   ep = __environ;
   while (*ep != NULL)
     {
-      size_t cnt;
+      size_t cnt = 0;
 
       while ((*ep)[cnt] == name[cnt] && name[cnt] != '\0')
 	++cnt;
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index e65865c068..8b94c5bdb4 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -280,7 +280,7 @@ struct rtld_global
   /* The object to be initialized first.  */
   EXTERN struct link_map *_dl_initfirst;
 
-#if HP_TIMING_AVAIL
+#if HP_TIMING_AVAIL || HP_SMALL_TIMING_AVAIL
   /* Start time on CPU clock.  */
   EXTERN hp_timing_t _dl_cpuclock_offset;