aboutsummaryrefslogtreecommitdiff
path: root/src/base/string/upper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/string/upper.c')
-rw-r--r--src/base/string/upper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/string/upper.c b/src/base/string/upper.c
index ab692c1..2110974 100644
--- a/src/base/string/upper.c
+++ b/src/base/string/upper.c
@@ -2,11 +2,11 @@
// Upper will force all runes in the string to be uppercase.
void
-str·upper(string s)
+string·upper(string s)
{
byte *b, *e;
b = s;
- e = b + str·len(s);
+ e = b + string·len(s);
while (b++ != e)
*b = toupper(*b);
}