summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-02-20 11:22:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-02-20 11:22:30 +0900
commit30606e55f1a570463d837cb110b0bd4adba6643b (patch)
tree7e7ca7c48fc9b880fb67c659e9f6024dc5774fc4 /tdecore
parentc088fbf55bde4faa68a6d51ba44085bd97c1e4e2 (diff)
downloadtdelibs-30606e55f1a570463d837cb110b0bd4adba6643b.tar.gz
tdelibs-30606e55f1a570463d837cb110b0bd4adba6643b.zip
Remove remaining 'register' instructions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/kentities.c4
-rw-r--r--tdecore/kmdcodec.cpp2
2 files changed, 3 insertions, 3 deletions
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;