From 30606e55f1a570463d837cb110b0bd4adba6643b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Feb 2020 11:22:30 +0900 Subject: Remove remaining 'register' instructions. Signed-off-by: Michele Calgaro --- tdecore/kentities.c | 4 ++-- tdecore/kmdcodec.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tdecore') diff --git a/tdecore/kentities.c b/tdecore/kentities.c index 070ee7689..8610b49e7 100644 --- a/tdecore/kentities.c +++ b/tdecore/kentities.c @@ -73,7 +73,7 @@ inline #endif #endif static unsigned int -hash_Entity (register const char *str, unsigned int len) +hash_Entity (const char *str, unsigned int len) { static const unsigned short asso_values[] = { @@ -140,7 +140,7 @@ hash_Entity (register const char *str, unsigned int len) __inline #endif const struct entity * -kde_findEntity (register const char *str, unsigned int len) +kde_findEntity (const char *str, unsigned int len) { enum { diff --git a/tdecore/kmdcodec.cpp b/tdecore/kmdcodec.cpp index 9b74c53b0..b5d540f53 100644 --- a/tdecore/kmdcodec.cpp +++ b/tdecore/kmdcodec.cpp @@ -137,7 +137,7 @@ const unsigned int KCodecs::maxQPLineLength = 70; /******************************** KCodecs ********************************/ // strchr(3) for broken systems. -static int rikFindChar(register const char * _s, const char c) +static int rikFindChar(const char * _s, const char c) { const char * s = _s; -- cgit v1.2.1