-# $OpenBSD: Makefile,v 1.8 1996/09/05 12:56:10 deraadt Exp $
+# $OpenBSD: Makefile,v 1.9 1996/09/15 10:09:06 tholo Exp $
#
# All library objects contain sccsid strings by default; they may be
# excluded as a space-saving measure. To produce a library that does
LIB=c
CFLAGS+=-DNLS -DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/include
.if defined(YP)
-CFLAGS+=-DYP
+CFLAGS+=-DYP -I${.CURDIR}/yp
.endif
LINTFLAGS=-z
LLIBS=
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $OpenBSD: protolib.h,v 1.1 1996/03/25 23:31:19 tholo Exp $
+ * $OpenBSD: protolib.h,v 1.2 1996/09/15 10:09:08 tholo Exp $
*/
#include <float.h>
/* PROTOLIB1 */
void *alloca(size_t);
+int exect(const char *, char * const [], char * const []);
double fabs(double);
int __flt_rounds(void);
fp_except fpgetmask(void);
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: getgrent.c,v 1.4 1996/08/19 08:23:29 tholo Exp $";
+static char rcsid[] = "$OpenBSD: getgrent.c,v 1.5 1996/09/15 10:09:10 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
+#include <sys/param.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <rpc/rpc.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
+#include "ypinternal.h"
#endif
static FILE *_gr_fp;
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: getpwent.c,v 1.4 1996/09/15 09:31:02 tholo Exp $";
+static char rcsid[] = "$OpenBSD: getpwent.c,v 1.5 1996/09/15 10:09:11 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
#include <rpc/rpc.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
+#include "ypinternal.h"
#endif
static struct passwd _pw_passwd; /* password structure */
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.7 1996/08/19 08:28:40 tholo Exp $";
+static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.8 1996/09/15 10:09:12 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
#include <rpc/rpc.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
+#include "ypinternal.h"
#endif
#define MAXALIASES 35
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: protolib.c,v 1.3 1996/09/15 09:31:56 tholo Exp $";
+static char rcsid[] = "$OpenBSD: protolib.c,v 1.4 1996/09/15 10:09:13 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include <sys/mount.h>
#include <sys/msg.h>
#include <sys/mman.h>
+#include <sys/poll.h>
#include <sys/ptrace.h>
#include <sys/resource.h>
#include <sys/sem.h>
int minherit(caddr_t, size_t, int); /* 250 */
int rfork(int); /* 251 */
+int poll(struct pollfd *, unsigned long, int); /* 252 */
+int issetugid(void); /* 253 */