From 6222db9f523777f82b9c1c4da52fa03a9a8392d8 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 15 Nov 1996 03:27:49 +0000 Subject: [PATCH] * server.c (main): Add declaration of optind for systems that don't have it in stdio.h or the like. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9419 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/rpc/unit-test/ChangeLog | 5 +++++ src/lib/rpc/unit-test/server.c | 1 + 2 files changed, 6 insertions(+) diff --git a/src/lib/rpc/unit-test/ChangeLog b/src/lib/rpc/unit-test/ChangeLog index 0923474e0..05a3de540 100644 --- a/src/lib/rpc/unit-test/ChangeLog +++ b/src/lib/rpc/unit-test/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 14 22:27:05 1996 Tom Yu + + * server.c (main): Add declaration of optind for systems that + don't have it in stdio.h or the like. + Thu Nov 14 15:27:05 1996 Barry Jaspan * rpc_test_setup.sh: VERBOSE is now inherited from env-setup.sh diff --git a/src/lib/rpc/unit-test/server.c b/src/lib/rpc/unit-test/server.c index 4ac8f5f84..f65379a9a 100644 --- a/src/lib/rpc/unit-test/server.c +++ b/src/lib/rpc/unit-test/server.c @@ -49,6 +49,7 @@ main(int argc, char **argv) int c, prot; auth_gssapi_name names[2]; register SVCXPRT *transp; + extern int optind; names[0].name = SERVICE_NAME; names[0].type = (gss_OID) gss_nt_service_name; -- 2.26.2