From 926c0fb6d186f0711aea2866fcc37fcf5302799e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Jan 2020 20:17:58 +0900 Subject: Removed explicit usage of the 'register' keyword. Signed-off-by: Michele Calgaro (cherry picked from commit 92fa724cc7692a0d4b64f0214250b29ba86221b5) --- src/translators/btparse/dlgauto.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/translators/btparse/dlgauto.h') diff --git a/src/translators/btparse/dlgauto.h b/src/translators/btparse/dlgauto.h index efcc3b2..fb6d9a6 100644 --- a/src/translators/btparse/dlgauto.h +++ b/src/translators/btparse/dlgauto.h @@ -240,9 +240,9 @@ zzreplchar(zzchar_t c) /* replace the string s for the reg. expr last matched and in the buffer */ void -zzreplstr(register zzchar_t *s) +zzreplstr(zzchar_t *s) { - register zzchar_t *l= &zzlextext[zzbufsize -1]; + zzchar_t *l= &zzlextext[zzbufsize -1]; zznextpos = zzbegexpr; if (s){ @@ -264,7 +264,7 @@ zzreplstr(register zzchar_t *s) void zzgettok() { - register int state, newstate; + int state, newstate; /* last space reserved for the null char */ zzchar_t *lastpos; /* GPW 1997/09/05 (removed 'register' */ -- cgit v1.2.1