Hide ut assignment in utmp.c (patch-aj), it doesn't exist at least in the code path DragonFly is taking.
21 lines
499 B
Text
21 lines
499 B
Text
$NetBSD: patch-ap,v 1.1 2006/05/09 19:24:24 joerg Exp $
|
|
|
|
--- base/src/tconf.c.orig 2006-05-09 18:13:46.000000000 +0000
|
|
+++ base/src/tconf.c
|
|
@@ -20,6 +20,7 @@
|
|
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
+#include <errno.h>
|
|
#include <unistd.h> /* close getlogin */
|
|
#include <stdlib.h> /* atexit exit */
|
|
#include <stdio.h>
|
|
@@ -33,8 +34,6 @@
|
|
extern int optind;
|
|
extern char *optarg;
|
|
|
|
-extern int errno;
|
|
-
|
|
struct pre_struct {
|
|
char * pre_mod;
|
|
char * pre_gen;
|