summaryrefslogtreecommitdiff
path: root/Userland/sleep.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-31 17:31:23 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-31 17:31:23 +0100
commitffab6897aa1bc668f98130b4bb485a4602509938 (patch)
treea4d1933fc390ea0803bb3826353262fbf06b885f /Userland/sleep.cpp
parent27fa09aee492e6c8da9168d24f0b1d2c5d2162d5 (diff)
downloadserenity-ffab6897aa1bc668f98130b4bb485a4602509938.zip
Big, possibly complete sweep of naming changes.
Diffstat (limited to 'Userland/sleep.cpp')
-rw-r--r--Userland/sleep.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/sleep.cpp b/Userland/sleep.cpp
index ba50980723..1a44e9b027 100644
--- a/Userland/sleep.cpp
+++ b/Userland/sleep.cpp
@@ -3,7 +3,7 @@
#include <signal.h>
#include <AK/AKString.h>
-static unsigned parseUInt(const String& str, bool& ok)
+static unsigned parse_uint(const String& str, bool& ok)
{
unsigned value = 0;
for (size_t i = 0; i < str.length(); ++i) {
@@ -29,7 +29,7 @@ int main(int argc, char** argv)
return 1;
}
bool ok;
- unsigned secs = parseUInt(argv[1], ok);
+ unsigned secs = parse_uint(argv[1], ok);
if (!ok) {
fprintf(stderr, "Not a valid number of seconds: \"%s\"\n", argv[1]);
return 1;