aboutsummaryrefslogtreecommitdiff
path: root/libexec/getty/extern.h
Commit message (Collapse)AuthorAgeFilesLines
* libexec: Remove ancient SCCS tags.Warner Losh2023-11-271-2/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Remove $FreeBSD$: one-line .h patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
* getty: code cleanup, part 1Dag-Erling Smørgrav2022-11-041-1/+1
| | | | | | | | | | | | * Avoid unnecessary use of `unsigned char *` * Use explicit casts when assigning `unsigned char *` to `char *` or vice versa * Drop unused global variables (and fix memory leak in `gettable()`) * Use `snprintf()` instead of `strcpy()` + `strcat()` * Drop spurious braces in switch Sponsored by: Klara, Inc. Obtained from: Apple OSS Distributions (in part) Differential Revision: https://reviews.freebsd.org/D37263
* Sprinkle static; avoid nested externs.Edward Tomasz Napierala2018-02-041-0/+2
| | | | | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=328858
* Remove unused variable.Edward Tomasz Napierala2018-02-041-1/+0
| | | | | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=328841
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Remove the 3rd clause ("advertising clause") of the BSD license asChristian Brueffer2014-02-171-5/+1
| | | | | | | | | | permitted by the University of Berkeley on July 22, 1999. Reviewed by: imp MFC after: 1 week Notes: svn path=/head/; revision=262136
* Include gettytab.h before extern.h so that the declarations of structStefan Farfeleder2005-04-061-3/+0
| | | | | | | gettyflags, gettynums and gettystrs are available. Notes: svn path=/head/; revision=144716
* o __P removalWarner Losh2002-02-061-14/+14
| | | | | | | | o remove register o use strict prototypes Notes: svn path=/head/; revision=90301
* Changed setflags() to set_flags(). This fixes world breakage due toBruce Evans2000-01-281-1/+1
| | | | | | | recently incremented namespace pollution in <unistd.h>. Notes: svn path=/head/; revision=56725
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22989
* Added:David Nugent1997-02-021-0/+1
| | | | | | | | | | | | | | | ic=expect/send script modem init script ac=expect/send script modem answer script ct#val chat script timeout (seconds) rt#val recycle timeout (seconds) if 'ac' set dc#val debug bitmask for debugging chat scripts hw (boolean) enable crtscts handshaking if=path 'issue' file sent prior login prompt chat.c is a simplistic expect/send chat module. Notes: svn path=/head/; revision=22208
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Finally commit the changes that make getty(8) no longer depend on theJoerg Wunsch1996-05-051-11/+16
| | | | | | | | | | | | | | | COMPAT_43 cruft. This is supposedly the last core utility that has been using it! (So now, one should be able to remove this option from the config files. Be aware that the last officially released xterm however still requires it.) The getty has been running now for several weeks on my modem line, so i feel safe about it. Obtained from: mostly from the NetBSD vendor-branch Notes: svn path=/head/; revision=15645
* Import NetBSD's termios'ed getty into a vendor branch.Joerg Wunsch1996-04-131-0/+57
Obtained from: NetBSD 1.1R Notes: svn path=/vendor/NetBSD/dist/; revision=15249