summaryrefslogtreecommitdiffstats
path: root/eBones/usr.bin/register/register.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1995-08-25 22:52:32 +0000
committermarkm <markm@FreeBSD.org>1995-08-25 22:52:32 +0000
commita83b802bada404e3b2eccf92c3499966deaad171 (patch)
tree45f2ba147600b7d47d9e9695cf572877c7fa4773 /eBones/usr.bin/register/register.c
parent2d8492d7c86b21502ee9277e20ef1e6e931b7c44 (diff)
downloadFreeBSD-src-a83b802bada404e3b2eccf92c3499966deaad171.zip
FreeBSD-src-a83b802bada404e3b2eccf92c3499966deaad171.tar.gz
Start the eBones cleanup ball rolling.
These are the start of a lot of work to clean up the FreeBSD eBones code. these changes include, but are not limited to: - Create prototypes for all the library routines - Make all the libraries compile clean with -Wall set - Fix numerous small bugs shown up in the above process - Prepare the code for libdes's removal to secure/ - add register, registerd and make_keypair to the make Lots more will follow in days to come. OK'ed by: rgrimes
Diffstat (limited to 'eBones/usr.bin/register/register.c')
-rw-r--r--eBones/usr.bin/register/register.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/eBones/usr.bin/register/register.c b/eBones/usr.bin/register/register.c
index d20f848..3f3cbbf 100644
--- a/eBones/usr.bin/register/register.c
+++ b/eBones/usr.bin/register/register.c
@@ -52,13 +52,13 @@ static char sccsid[] = "@(#)register.c 8.1 (Berkeley) 6/1/93";
#include <pwd.h>
#include <stdio.h>
#include <netdb.h>
-#include <kerberosIV/des.h>
+#include <des.h>
#include <kerberosIV/krb.h>
#include "pathnames.h"
#include "register_proto.h"
-#define SERVICE "krbupdate" /* service to add to KDC's database */
-#define PROTO "tcp"
+#define SERVICE "krbupdate" /* service to add to KDC's database */
+#define PROTOCOL "tcp"
char realm[REALM_SZ];
char krbhst[MAX_HSTNM];
@@ -90,7 +90,7 @@ main(argc, argv)
exit(1);
}
- if ((se = getservbyname(SERVICE, PROTO)) == NULL) {
+ if ((se = getservbyname(SERVICE, PROTOCOL)) == NULL) {
fprintf(stderr, "couldn't find entry for service %s\n",
SERVICE);
exit(1);
OpenPOWER on IntegriCloud