Historically, aklog was split into aklog.c (which just contained a
wrapper) and aklog_main.c, which did all of the hard work. Now
that we've purged all of the Windows code from aklog_main.c, we
can merge them both into the same file, so do so.
FIXES 20884
Change-Id: Ifdcb33f4eb2b26703c833056882d95f7f0f654b1
Reviewed-on: http://gerrit.openafs.org/1036
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
${TOP_LIBDIR}/libdes.a ${TOP_LIBDIR}/libcom_err.a \
${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/libafsutil.a
-SRCS= aklog.c aklog_main.c krb_util.c linked_list.c
-OBJS= aklog.o aklog_main.o krb_util.o linked_list.o
+SRCS= aklog_main.c krb_util.c linked_list.c
+OBJS= aklog_main.o krb_util.o linked_list.o
all: aklog asetkey klog
+++ /dev/null
-/*
- * $Id$
- *
- * Copyright 1990,1991 by the Massachusetts Institute of Technology
- * For distribution and copying rights, see the file "mit-copyright.h"
- */
-
-#include <afs/stds.h>
-#include "aklog.h"
-
-int
-main(int argc, char *argv[])
-{
- aklog(argc, argv);
- exit(0);
-}
-
exit(AKLOG_USAGE);
}
-void aklog(int argc, char *argv[])
+int main(int argc, char *argv[])
{
krb5_context context;
int status = AKLOG_SUCCESS;