summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-07-17 14:07:42 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-07-17 14:07:42 +1000
commitba6de952a00558e6d93b8c9edd81806a99716411 (patch)
tree64494eefd21fd267a2495e058082b2f9668b2402 /openbsd-compat
parent5d423f4eceb09c6e26946d4b190a765a3d96c34f (diff)
- (dtucker) [logintest.c scp.c sftp-server.c sftp.c ssh-add.c ssh-agent.c
ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh-rand-helper.c ssh.c sshd.c openbsd-compat/bsd-misc.c] Move "char *__progname" to bsd-misc.c. Reduces diff vs OpenBSD; ok mouring@, tested by tim@ too.
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/bsd-misc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c
index c58cce0f4..07b7c0755 100644
--- a/openbsd-compat/bsd-misc.c
+++ b/openbsd-compat/bsd-misc.c
@@ -17,7 +17,11 @@
17#include "includes.h" 17#include "includes.h"
18#include "xmalloc.h" 18#include "xmalloc.h"
19 19
20RCSID("$Id: bsd-misc.c,v 1.22 2004/06/25 04:03:34 dtucker Exp $"); 20RCSID("$Id: bsd-misc.c,v 1.23 2004/07/17 04:07:42 dtucker Exp $");
21
22#ifndef HAVE__PROGNAME
23char *__progname;
24#endif
21 25
22/* 26/*
23 * NB. duplicate __progname in case it is an alias for argv[0] 27 * NB. duplicate __progname in case it is an alias for argv[0]