summaryrefslogtreecommitdiffstats
path: root/libexec/rlogind/rlogind.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-11-25 07:17:15 +0000
committercharnier <charnier@FreeBSD.org>1997-11-25 07:17:15 +0000
commit4f3f135e7c5a1163ebf735923864c87e7344530d (patch)
treef21eee37ab1905ea632c5728bba5e9d2ec0945bb /libexec/rlogind/rlogind.c
parenta8f4ef9a1d73a061da542afd0f8035bae3f08053 (diff)
downloadFreeBSD-src-4f3f135e7c5a1163ebf735923864c87e7344530d.zip
FreeBSD-src-4f3f135e7c5a1163ebf735923864c87e7344530d.tar.gz
Sort #includes. Add rcsid. Add man page section in .Xrefs.
Diffstat (limited to 'libexec/rlogind/rlogind.c')
-rw-r--r--libexec/rlogind/rlogind.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c
index e92b323..b0227e6 100644
--- a/libexec/rlogind/rlogind.c
+++ b/libexec/rlogind/rlogind.c
@@ -29,8 +29,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: rlogind.c,v 1.17 1997/03/28 15:48:16 imp Exp $
*/
#ifndef lint
@@ -40,7 +38,11 @@ static const char copyright[] =
#endif /* not lint */
#ifndef lint
+#if 0
static const char sccsid[] = "@(#)rlogind.c 8.1 (Berkeley) 6/4/93";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
/*
@@ -68,14 +70,14 @@ static const char sccsid[] = "@(#)rlogind.c 8.1 (Berkeley) 6/4/93";
#include <arpa/inet.h>
#include <netdb.h>
+#include <errno.h>
+#include <libutil.h>
#include <pwd.h>
#include <syslog.h>
-#include <errno.h>
#include <stdio.h>
-#include <unistd.h>
#include <stdlib.h>
#include <string.h>
-#include <libutil.h>
+#include <unistd.h>
#include "pathnames.h"
#ifndef TIOCPKT_WINDOW
OpenPOWER on IntegriCloud