From 344c67b616bf39d33700cc77ff5c6ec2d5ba295c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 29 Apr 1999 13:19:45 +0000 Subject: Update. 1999-04-29 Ulrich Drepper * nss/getXXbyYY_r.c: Include assert.h. * nss/getXXbyYY.c: Likewise. --- ChangeLog | 5 +++++ nss/getXXbyYY.c | 3 ++- nss/getXXbyYY_r.c | 1 + termios/tcgetsid.c | 6 +++--- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4ed99ec..f4ec41e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-04-29 Ulrich Drepper + + * nss/getXXbyYY_r.c: Include assert.h. + * nss/getXXbyYY.c: Likewise. + 1999-04-29 Andreas Jaeger * termios/tcgetsid.c (tcgetsid): Rename variable to diff --git a/nss/getXXbyYY.c b/nss/getXXbyYY.c index a79fd08..16f01de 100644 --- a/nss/getXXbyYY.c +++ b/nss/getXXbyYY.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -16,6 +16,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include #include #include #include diff --git a/nss/getXXbyYY_r.c b/nss/getXXbyYY_r.c index 33b4fc9..7b10304 100644 --- a/nss/getXXbyYY_r.c +++ b/nss/getXXbyYY_r.c @@ -17,6 +17,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include #include #include "nsswitch.h" #ifdef USE_NSCD diff --git a/termios/tcgetsid.c b/termios/tcgetsid.c index aab72f9..f4cc6a7 100644 --- a/termios/tcgetsid.c +++ b/termios/tcgetsid.c @@ -30,9 +30,9 @@ tcgetsid (fd) pid_t pgrp; pid_t sid; #ifdef TIOCGSID - static int tiocgsid_does_not_works; + static int tiocgsid_does_not_work; - if (! tiocgsid_does_not_works) + if (! tiocgsid_does_not_work) { int serrno = errno; int sid; @@ -41,7 +41,7 @@ tcgetsid (fd) { if (errno == EINVAL) { - tiocgsid_does_not_works = 1; + tiocgsid_does_not_work = 1; __set_errno (serrno); } else -- cgit v1.1