diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-06-07 22:24:35 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-06-07 22:24:35 +0000 |
commit | 2e09a79ada1f6d92809a037d41895e3d9302ad59 (patch) | |
tree | 999c9d18279a7de289937116273ae4016356aa3a /stdio-common/vfscanf.c | |
parent | 8e254d8e0d0820716e0ccf5f2b89c4fd1325f051 (diff) |
Avoid use of "register" as optimization hint.
Diffstat (limited to 'stdio-common/vfscanf.c')
-rw-r--r-- | stdio-common/vfscanf.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c index 82f7eee192..343056769e 100644 --- a/stdio-common/vfscanf.c +++ b/stdio-common/vfscanf.c @@ -206,13 +206,13 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr, #endif { va_list arg; - register const CHAR_T *f = format; - register UCHAR_T fc; /* Current character of the format. */ - register WINT_T done = 0; /* Assignments done. */ - register size_t read_in = 0; /* Chars read in. */ - register WINT_T c = 0; /* Last char read. */ - register int width; /* Maximum field width. */ - register int flags; /* Modifiers for current format element. */ + const CHAR_T *f = format; + UCHAR_T fc; /* Current character of the format. */ + WINT_T done = 0; /* Assignments done. */ + size_t read_in = 0; /* Chars read in. */ + WINT_T c = 0; /* Last char read. */ + int width; /* Maximum field width. */ + int flags; /* Modifiers for current format element. */ int errval = 0; #ifndef COMPILE_WSCANF __locale_t loc = _NL_CURRENT_LOCALE; |