summaryrefslogtreecommitdiffstats
path: root/usr.bin/window/wwerror.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-04-14 06:39:19 +0000
committerimp <imp@FreeBSD.org>2000-04-14 06:39:19 +0000
commit4721d7ef435f4d79e92d8d98ba9b645bb25993fb (patch)
treec7963b41252b2e47e3e9896854edbbb0300e6576 /usr.bin/window/wwerror.c
parent7fec3d2787608459e561d33aa2c5f4370c7eb11f (diff)
downloadFreeBSD-src-4721d7ef435f4d79e92d8d98ba9b645bb25993fb.zip
FreeBSD-src-4721d7ef435f4d79e92d8d98ba9b645bb25993fb.tar.gz
#include <errno.h> where needed. Kill extern int errno;.
Minor warnings in tip corrected.
Diffstat (limited to 'usr.bin/window/wwerror.c')
-rw-r--r--usr.bin/window/wwerror.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/window/wwerror.c b/usr.bin/window/wwerror.c
index 0bba6f5..c2b971c 100644
--- a/usr.bin/window/wwerror.c
+++ b/usr.bin/window/wwerror.c
@@ -32,18 +32,20 @@
* 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.
+ *
+ * $FreeBSD$
*/
#ifndef lint
static char sccsid[] = "@(#)wwerror.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
+#include <errno.h>
#include "ww.h"
char *
wwerror()
{
- extern int errno;
char *strerror();
switch (wwerrno) {
OpenPOWER on IntegriCloud