summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/mac.c
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2004-01-06 18:26:15 +0000
committernectar <nectar@FreeBSD.org>2004-01-06 18:26:15 +0000
commitc281d0e2eafa39c917ef047ce514a5594c54b94f (patch)
treef9e401de771be36d2b425999ec8f726e406ea85d /lib/libc/posix1e/mac.c
parent9138480b09ae7b6db83e31894580eb4bdc8fb7fe (diff)
downloadFreeBSD-src-c281d0e2eafa39c917ef047ce514a5594c54b94f.zip
FreeBSD-src-c281d0e2eafa39c917ef047ce514a5594c54b94f.tar.gz
Remove unused variables and function declarations. Add missing headers.
Diffstat (limited to 'lib/libc/posix1e/mac.c')
-rw-r--r--lib/libc/posix1e/mac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/posix1e/mac.c b/lib/libc/posix1e/mac.c
index 9d29438..ded9059 100644
--- a/lib/libc/posix1e/mac.c
+++ b/lib/libc/posix1e/mac.c
@@ -44,6 +44,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <sys/mac.h>
@@ -182,7 +183,7 @@ mac_init_internal(int ignore_errors)
return (0);
while (fgets(line, LINE_MAX, file)) {
- char *arg, *comment, *parse, *statement;
+ char *comment, *parse, *statement;
if (line[strlen(line)-1] == '\n')
line[strlen(line)-1] = '\0';
OpenPOWER on IntegriCloud