summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /usr.bin/ssh
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/auth.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/auth.h b/usr.bin/ssh/auth.h
index 45d5135d110..4bb8f81f46a 100644
--- a/usr.bin/ssh/auth.h
+++ b/usr.bin/ssh/auth.h
@@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $OpenBSD: auth.h,v 1.26 2001/12/27 19:54:53 markus Exp $
+ * $OpenBSD: auth.h,v 1.27 2002/02/16 21:27:53 millert Exp $
*/
#ifndef AUTH_H
#define AUTH_H
@@ -79,12 +79,12 @@ struct Authctxt {
struct KbdintDevice
{
const char *name;
- void* (*init_ctx) __P((Authctxt*));
+ void* (*init_ctx)(Authctxt*);
int (*query) __P((void *ctx, char **name, char **infotxt,
u_int *numprompts, char ***prompts,
u_int **echo_on));
- int (*respond) __P((void *ctx, u_int numresp, char **responses));
- void (*free_ctx) __P((void *ctx));
+ int (*respond)(void *ctx, u_int numresp, char **responses);
+ void (*free_ctx)(void *ctx);
};
int auth_rhosts(struct passwd *, const char *);