* server.c (main): Add declaration of optind for systems that
authorTom Yu <tlyu@mit.edu>
Fri, 15 Nov 1996 03:27:49 +0000 (03:27 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 15 Nov 1996 03:27:49 +0000 (03:27 +0000)
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
src/lib/rpc/unit-test/server.c

index 0923474e001183cac7c954a36c7b9715f213c7ba..05a3de54097a64c0cc2e463e9fc03bd8a5671343 100644 (file)
@@ -1,3 +1,8 @@
+Thu Nov 14 22:27:05 1996  Tom Yu  <tlyu@mit.edu>
+
+       * 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  <bjaspan@mit.edu>
 
        * rpc_test_setup.sh: VERBOSE is now inherited from env-setup.sh
index 4ac8f5f84182da404831a05b841295538323d6a7..f65379a9ad3126ada3a2e33bb38c35d84cc48434 100644 (file)
@@ -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;