summaryrefslogtreecommitdiff
path: root/Userland/Utilities/uniq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/uniq.cpp')
-rw-r--r--Userland/Utilities/uniq.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Utilities/uniq.cpp b/Userland/Utilities/uniq.cpp
index 42f75e43cf..54fb89ba0a 100644
--- a/Userland/Utilities/uniq.cpp
+++ b/Userland/Utilities/uniq.cpp
@@ -18,7 +18,7 @@ struct linebuf {
size_t len = 0;
};
-static FILE* get_stream(const char* filepath, const char* perms)
+static FILE* get_stream(char const* filepath, char const* perms)
{
FILE* ret;
@@ -41,8 +41,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
{
TRY(Core::System::pledge("stdio rpath wpath cpath"));
- const char* inpath = nullptr;
- const char* outpath = nullptr;
+ char const* inpath = nullptr;
+ char const* outpath = nullptr;
Core::ArgsParser args_parser;
args_parser.add_positional_argument(inpath, "Input file", "input", Core::ArgsParser::Required::No);
args_parser.add_positional_argument(outpath, "Output file", "output", Core::ArgsParser::Required::No);