summaryrefslogtreecommitdiff
path: root/lib/libc/locale
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-07-09 01:08:58 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-07-09 01:08:58 +0000
commit2f44868befb3b820255d0c12c2faae04cfcd2fe7 (patch)
treeda72e56df4e4995be92ab233ba5ff6cbebd31339 /lib/libc/locale
parent96645b36554924af429d15a6fd1421c970878795 (diff)
Clean up some -Wall flowers.
Diffstat (limited to 'lib/libc/locale')
-rw-r--r--lib/libc/locale/setlocale.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/locale/setlocale.c b/lib/libc/locale/setlocale.c
index 2f7eb18a78f..5f8eeb39f8a 100644
--- a/lib/libc/locale/setlocale.c
+++ b/lib/libc/locale/setlocale.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: setlocale.c,v 1.6 1997/07/09 01:08:21 millert Exp $ */
/*
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -35,16 +36,17 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: setlocale.c,v 1.5 1996/10/29 03:22:27 millert Exp $";
+static char rcsid[] = "$OpenBSD: setlocale.c,v 1.6 1997/07/09 01:08:21 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/localedef.h>
#include <locale.h>
#include <limits.h>
+#include <paths.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <paths.h>
+#include <unistd.h>
/*
* Category names for getenv()