mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:47:44 +00:00
Userland: Run clang-format on everything.
This commit is contained in:
parent
f7ede145b4
commit
b07bbf383d
48 changed files with 271 additions and 268 deletions
|
@ -1,15 +1,15 @@
|
|||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <AK/AKString.h>
|
||||
#include <AK/StringBuilder.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibCore/CArgsParser.h>
|
||||
#include <LibCore/CDirIterator.h>
|
||||
#include <LibCore/CFile.h>
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
static String read_var(const String& name)
|
||||
{
|
||||
|
@ -48,7 +48,6 @@ static void write_var(const String& name, const String& value)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
static int handle_show_all()
|
||||
{
|
||||
CDirIterator di("/proc/sys", CDirIterator::SkipDots);
|
||||
|
@ -102,4 +101,3 @@ int main(int argc, char** argv)
|
|||
Vector<String> values = args.get_single_values();
|
||||
return handle_var(values[0]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue