diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 22:22:16 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 22:22:16 +0100 |
| commit | 8f9e448b2ef6db7cd905540c21f3c5b190e7a1e7 (patch) | |
| tree | ae0285dd15042d1e9236a5ce2e60daf65acbdca0 /lib/libc/syslog | |
| parent | fc00c656c96528112d05cf0edf8631bd5eaea446 (diff) | |
Add bin/true and bin/false implementations
- Added assembly implementations for `true` and `false` commands.
- Updated Kbuild files to include new binaries.
- Removed unused libraries and headers.
- Cleaned up makefile and unused code.
Diffstat (limited to 'lib/libc/syslog')
| -rw-r--r-- | lib/libc/syslog/Kbuild | 4 | ||||
| -rw-r--r-- | lib/libc/syslog/openlog.c | 1 | ||||
| -rw-r--r-- | lib/libc/syslog/setlogmask.c | 1 | ||||
| -rw-r--r-- | lib/libc/syslog/syslog.c | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/syslog/Kbuild b/lib/libc/syslog/Kbuild new file mode 100644 index 00000000..23a1ce51 --- /dev/null +++ b/lib/libc/syslog/Kbuild @@ -0,0 +1,4 @@ +obj-y += closelog.o +obj-y += openlog.o +obj-y += setlogmask.o +obj-y += syslog.o diff --git a/lib/libc/syslog/openlog.c b/lib/libc/syslog/openlog.c index 84c4797f..0abf8bb8 100644 --- a/lib/libc/syslog/openlog.c +++ b/lib/libc/syslog/openlog.c @@ -2,6 +2,7 @@ int setlogmask(int maskpri) { + (void)maskpri; // TODO return 0; } diff --git a/lib/libc/syslog/setlogmask.c b/lib/libc/syslog/setlogmask.c index 84c4797f..0abf8bb8 100644 --- a/lib/libc/syslog/setlogmask.c +++ b/lib/libc/syslog/setlogmask.c @@ -2,6 +2,7 @@ int setlogmask(int maskpri) { + (void)maskpri; // TODO return 0; } diff --git a/lib/libc/syslog/syslog.c b/lib/libc/syslog/syslog.c index a9a41fbb..53aec084 100644 --- a/lib/libc/syslog/syslog.c +++ b/lib/libc/syslog/syslog.c @@ -2,6 +2,8 @@ void syslog(int priority, const char *message, ... /* arguments */) { + (void)priority; + (void)message; // TODO return; } |
