| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
function declarations.
Most of the changes land in one of these buckets:
* Removed unused declarations.
* Used (void) to represent no parameters instead of () which means an
undeterminate number of parameters.
* Included missing header files whenever necessary (stdlib.h,
sys/mman.h, etc)
* Typedefed function pointers to be able to fully declare the parameter
types.
* Added declarations of library functions that are used elsewhere
(example is libps/ps.h).
* Made functions static whenever they are only used in that file.
* Forwarded declarations of some methods that were made static.
Message-Id: <ZDD1o7/tVYeZew+G@jupiter.tail36e24.ts.net>
|
| |
|
|
|
|
|
| |
* daemons/getty.c (load_banner): Drop first newline from default banner.
(print_banner): Print a newline.
|
|
|
|
|
|
|
|
|
|
| |
Previously, a banner was hardcoded in Hurds getty. Load /etc/issue
instead. Fall back to a hardcoded version if that fails. Expand
common \char sequences. If no /etc/issue is provided, the old
behavior is retained.
* daemons/getty.c (load_banner): New function.
(print_banner): Expand \char sequences.
|
|
|
|
|
| |
* getty.c (main) <execl>: Correctly specify sentinels to avoid GCC 4.3
warnings.
|
|
|
|
|
|
| |
* getty.c: Include <termios.h>.
(set_speed): New function.
(main): Take linespec from argc[1], not argc[2]. Call set_speed.
|
|
|
|
| |
* getty.c (main): Report an error if login_tty failed.
|
|
|
|
| |
* getty.c: Undo last change.
|
|
|
|
| |
* getty.c (main): Make TTY our controlling terminal with TIOCSCTTY.
|
|
|
|
| |
* getty.c: Include <utmp.h> for login_tty decl.
|
|
|
|
| |
* getty.c: Include <string.h> for basename decl.
|
| |
|
| |
|
| |
|
|
|
|
| |
(main): Use syslog instead of error to report exec failure.
|
|
|
|
| |
(main): Return something.
|
|
|
|
| |
(main): Call print_banner.
|
| |
|
|
|
|
|
| |
Don't time out hardwired lines.
Print an error if exec fails.
|
| |
|
|
|