File: do_not_redeclare_statfs.patch

package info (click to toggle)
nip2 8.9.1-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 23,404 kB
  • sloc: ansic: 64,076; sh: 4,681; yacc: 1,133; makefile: 927; lex: 386; xml: 40; perl: 17
file content (21 lines) | stat: -rw-r--r-- 530 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From 045268a78c40d7f546220504f971c728aebc00be Mon Sep 17 00:00:00 2001
From: Orion Poplawski <orion@nwra.com>
Date: Sun, 2 Feb 2025 16:09:16 -0700
Subject: [PATCH] Do not redeclare statfs()

---
 src/ip.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/ip.h b/src/ip.h
index 7a7c3d9..6cfbbd4 100644
--- a/src/ip.h
+++ b/src/ip.h
@@ -108,7 +108,6 @@
 #endif /*HAVE_SYS_STATVFS_H*/
 #ifdef HAVE_SYS_VFS_H
 #include <sys/vfs.h>
-extern int statfs();
 #endif /*HAVE_SYS_VFS_H*/
 #ifdef HAVE_SYS_MOUNT_H
 #include <sys/mount.h>