1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:27:44 +00:00

Big, possibly complete sweep of naming changes.

This commit is contained in:
Andreas Kling 2019-01-31 17:31:23 +01:00
parent 27fa09aee4
commit ffab6897aa
93 changed files with 830 additions and 885 deletions

View file

@ -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;