summaryrefslogtreecommitdiff
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rw-r--r--applications/clock/source/main.cpp2
-rw-r--r--applications/goldman/source/main.cpp2
-rw-r--r--applications/hello/source/main.cpp2
-rw-r--r--applications/init/source/main.cpp5
4 files changed, 4 insertions, 7 deletions
diff --git a/applications/clock/source/main.cpp b/applications/clock/source/main.cpp
index 3a1270d..fde8f33 100644
--- a/applications/clock/source/main.cpp
+++ b/applications/clock/source/main.cpp
@@ -38,7 +38,7 @@ std::string the_time() {
}
-int main(int, char **) {
+int main() {
font = new daguerre::fixed_font<bool>(
daguerre::try_load_psf("/assets/terminus/10x18-bold.psf").value());
diff --git a/applications/goldman/source/main.cpp b/applications/goldman/source/main.cpp
index 475129f..2ade412 100644
--- a/applications/goldman/source/main.cpp
+++ b/applications/goldman/source/main.cpp
@@ -9,7 +9,7 @@
renderer *r;
-int main(int, char **) {
+int main() {
euler::syscall::listener_handle listener;
euler::syscall::create_socket_listener("hilbert.compositor", listener);
diff --git a/applications/hello/source/main.cpp b/applications/hello/source/main.cpp
index b297721..64f569e 100644
--- a/applications/hello/source/main.cpp
+++ b/applications/hello/source/main.cpp
@@ -4,7 +4,7 @@
daguerre::fixed_font<bool> *font;
-int main(int, char **) {
+int main() {
font = new daguerre::fixed_font<bool>(
daguerre::try_load_psf("/assets/terminus/10x18-bold.psf").value());
diff --git a/applications/init/source/main.cpp b/applications/init/source/main.cpp
index c281bc0..66ad260 100644
--- a/applications/init/source/main.cpp
+++ b/applications/init/source/main.cpp
@@ -1,9 +1,6 @@
#include <euler/syscall.hpp>
-//this does not keep track of the processes or whether they have started
-//successfully, nor does it set their argc, argv, stdin, stdout, or stderr.
-
-int main(int, char **) {
+int main() {
euler::syscall::process_handle dummy;
euler::syscall::start_process("/bin/compositor", {}, {}, dummy);
euler::syscall::start_process("/bin/clock", {}, {}, dummy);