]> git.saurik.com Git - apple/libc.git/blobdiff - gen/FreeBSD/getcwd.c
Libc-1353.11.2.tar.gz
[apple/libc.git] / gen / FreeBSD / getcwd.c
index 512b88cd6de1b6bc490151f7c37f4ecc067ed4bf..4a1989026b67df4e10f5b768c946d1646b5612ee 100644 (file)
@@ -27,6 +27,9 @@
  * SUCH DAMAGE.
  */
 
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wstrict-prototypes"
+
 #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)getcwd.c   8.5 (Berkeley) 2/7/95";
 #endif /* LIBC_SCCS and not lint */
@@ -143,7 +146,7 @@ __private_getcwd(pt, size, usegetpath)
        ino_t root_ino;
        size_t ptsize, upsize;
        int save_errno;
-       char *ept, *eup, *up, c;
+       char *ept, *eup, *up;
 
        /*
         * If no buffer specified by the user, allocate one as necessary.
@@ -332,3 +335,4 @@ getcwd(pt, size)
 {
        return __private_getcwd(pt, size, 1);
 }
+#pragma clang diagnostic pop