Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/regress/sys/arch/arm/sigstackalign Include err.h and unistd....
details: https://anonhg.NetBSD.org/src/rev/59bc9d76fafd
branches: trunk
changeset: 765082:59bc9d76fafd
user: mellon <mellon%NetBSD.org@localhost>
date: Wed May 18 19:45:05 2011 +0000
description:
Include err.h and unistd.h to provide protos for err() and getpid().
diffstat:
regress/sys/arch/arm/sigstackalign/sigstackalign.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r cedcce0adab8 -r 59bc9d76fafd regress/sys/arch/arm/sigstackalign/sigstackalign.c
--- a/regress/sys/arch/arm/sigstackalign/sigstackalign.c Wed May 18 19:44:18 2011 +0000
+++ b/regress/sys/arch/arm/sigstackalign/sigstackalign.c Wed May 18 19:45:05 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sigstackalign.c,v 1.3 2008/04/28 20:23:05 martin Exp $ */
+/* $NetBSD: sigstackalign.c,v 1.4 2011/05/18 19:45:05 mellon Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -28,11 +28,13 @@
#include <sys/types.h>
-__RCSID("$NetBSD: sigstackalign.c,v 1.3 2008/04/28 20:23:05 martin Exp $");
+__RCSID("$NetBSD: sigstackalign.c,v 1.4 2011/05/18 19:45:05 mellon Exp $");
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
+#include <err.h>
+#include <unistd.h>
#define RANGE 16
#define STACKALIGN 8
Home |
Main Index |
Thread Index |
Old Index