remove unused optind;
add void to main()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@558
dc483132-0cff-0310-8789-
dd5450dbe970
#include <krb5/krb5_err.h>
#include <krb5/isode_err.h>
#include <krb5/kdb5_err.h>
+#include <krb5/libos-proto.h>
#include <krb5/ext-proto.h>
#include "kdc_util.h"
char lrealm[BUFSIZ];
krb5_error_code retval;
- extern int optind;
extern char *optarg;
while (c = getopt(argc, argv, "r:d:mM:k:")) {
exit
*/
+/* This void is a bit bogus, but it's necessary to prevent some compilers from
+ complaining about a no-value return path from a non-void function. */
+void
main(argc, argv)
int argc;
-char **argv;
+char *argv[];
{
krb5_error_code retval;