Drake
|
9921ad5cff
|
all: change main funcs to respectively named ones
first big change to help with moving to a single binary :)
|
3 years ago |
Drake
|
0ab66c2a27
|
`uname`: read hostname at the beginning, instead of on-demand.
|
3 years ago |
Drake
|
2f14fffd5c
|
All: add license comment.
also: change ansi implementation to be slightly less copyright-infringing.
|
3 years ago |
Drake
|
11d32b9dfb
|
All: add newline to version output.
goddammit, i apparently missed a bunch of stuff after some of the reforms i've done.
|
3 years ago |
Drake
|
1ee035fe27
|
All: run `clang-format` on code and makefile.
C source files use LLVM style, Makefile uses Google style.
|
3 years ago |
Drake
|
d97207065f
|
All: remove uneeded imports, according to include-what-you-use.
see https://github.com/include-what-you-use/include-what-you-use for more info on iwyu.
|
3 years ago |
Drake
|
005327533e
|
`uname`: add typecast to fix `-Wextra` warning.
|
3 years ago |
Drake
|
0a059278c7
|
All: switch version declaration using header to makefile.
makes imports a little cleaner
|
3 years ago |
Drake
|
1b77d46614
|
`uname`: add missing semicolon in new printf.
|
3 years ago |
Drake
|
87a07a5dc2
|
all (but `yes`): re-add `\n`s to new `printf()`s
okay so apparently they're needed
|
3 years ago |
Drake
|
01f7d53d15
|
all (but `yes`): use printf formatting
clang no longer complains!
|
3 years ago |
Drake
|
66661b3846
|
`uname`: remove uneeded malloc that was leaking memory
|
3 years ago |
Drake
|
c3e5485cf8
|
`uname`: return sysname on no argument instead of error
|
3 years ago |
Drake
|
ea162487e2
|
`uname`: --help formatting, added -a/--all
|
3 years ago |
Drake
|
f506732c0a
|
`uname`: add uname
|
3 years ago |