- Fix build for 5.0-CURRENT

This commit is contained in:
Dirk Meyer 2002-03-30 05:18:23 +00:00
parent 35a0669893
commit 24b7840a21
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56899
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,25 @@
--- openbsd-compat/readpassphrase.c.orig Sat Mar 30 06:08:34 2002
+++ openbsd-compat/readpassphrase.c Sat Mar 30 06:09:33 2002
@@ -165,6 +165,13 @@
errno = save_errno;
return(nr == -1 ? NULL : buf);
}
+
+static void handler(int s)
+{
+
+ signo = s;
+}
+
#endif /* HAVE_READPASSPHRASE */
#if 0
@@ -177,8 +184,3 @@
}
#endif
-static void handler(int s)
-{
-
- signo = s;
-}

View File

@ -0,0 +1,25 @@
--- openbsd-compat/readpassphrase.c.orig Sat Mar 30 06:08:34 2002
+++ openbsd-compat/readpassphrase.c Sat Mar 30 06:09:33 2002
@@ -165,6 +165,13 @@
errno = save_errno;
return(nr == -1 ? NULL : buf);
}
+
+static void handler(int s)
+{
+
+ signo = s;
+}
+
#endif /* HAVE_READPASSPHRASE */
#if 0
@@ -177,8 +184,3 @@
}
#endif
-static void handler(int s)
-{
-
- signo = s;
-}