1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Fix build on 64-bit platforms: don't define prototypes that conflict

with the system ones.
This commit is contained in:
Christian Weisgerber 2002-12-18 20:01:26 +00:00
parent 206a1c23e1
commit 8c89ab27f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71713
2 changed files with 29 additions and 2 deletions

View File

@ -0,0 +1,16 @@
$FreeBSD$
--- xvi.h.orig Wed Dec 18 20:45:08 2002
+++ xvi.h Wed Dec 18 20:45:25 2002
@@ -90,9 +90,9 @@
* Functions which ANSI does not specify should
* be included in any standard header file.
*/
+#ifndef BSD386 /* ken */
extern int chdir P((const char *path));
extern char *getcwd P((char *, unsigned));
-#ifndef BSD386 /* ken */
extern void sleep P((unsigned seconds));
#endif

View File

@ -1,5 +1,16 @@
--- xvi.h.orig Tue Aug 27 14:27:05 2002
+++ xvi.h Tue Aug 27 14:27:05 2002
--- xvi.h.orig Wed Dec 18 20:50:06 2002
+++ xvi.h Wed Dec 18 20:50:43 2002
@@ -90,9 +90,9 @@
* Functions which ANSI does not specify should
* be included in any standard header file.
*/
+#ifndef BSD386 /* ken */
extern int chdir P((const char *path));
extern char *getcwd P((char *, unsigned));
-#ifndef BSD386 /* ken */
extern void sleep P((unsigned seconds));
#endif
@@ -151,11 +151,7 @@
# else
# define KANJI_VER "jXvi K.Tsuchida"