summaryrefslogtreecommitdiffstats
path: root/libc/tzcode
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-06-19 14:19:24 -0700
committerElliott Hughes <enh@google.com>2014-06-19 14:19:24 -0700
commit2cb752664bbde379c20931fa330563d775b60033 (patch)
treeedde6cf7ab480d0a9423451a018beeb37c5017f4 /libc/tzcode
parent477b45b89d84c9efec95c49a76cacbc9b2d5104c (diff)
downloadbionic-2cb752664bbde379c20931fa330563d775b60033.zip
bionic-2cb752664bbde379c20931fa330563d775b60033.tar.gz
bionic-2cb752664bbde379c20931fa330563d775b60033.tar.bz2
Fix arm64 localtime.c build.
I'm sick of having so many different compilers. Change-Id: I9088c38df2504e2b827d0ce5ba0fa551ae48f8f9
Diffstat (limited to 'libc/tzcode')
-rw-r--r--libc/tzcode/localtime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/tzcode/localtime.c b/libc/tzcode/localtime.c
index 2581c12..f0fd9e3 100644
--- a/libc/tzcode/localtime.c
+++ b/libc/tzcode/localtime.c
@@ -361,7 +361,7 @@ tzload(register const char* name, register struct state* const sp,
** to hold the longest file name string that the implementation
** guarantees can be opened."
*/
- char fullname[FILENAME_MAX + 1];
+ //char fullname[FILENAME_MAX + 1];
/* The main part of the storage for this function. */
struct {
@@ -369,7 +369,7 @@ tzload(register const char* name, register struct state* const sp,
struct state st;
} u;
};
- register char *fullname;
+ //register char *fullname;
register u_t *up;
register union local_storage *lsp;
#ifdef ALL_STATE
@@ -380,7 +380,7 @@ tzload(register const char* name, register struct state* const sp,
union local_storage ls;
lsp = &ls;
#endif /* !defined ALL_STATE */
- fullname = lsp->fullname;
+ //fullname = lsp->fullname;
up = &lsp->u.u;
sp->goback = sp->goahead = FALSE;