summaryrefslogtreecommitdiffstats
path: root/eBones/krb/getrealm.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/krb/getrealm.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/krb/getrealm.c')
-rw-r--r--eBones/krb/getrealm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/eBones/krb/getrealm.c b/eBones/krb/getrealm.c
index c850bd0..37686c4 100644
--- a/eBones/krb/getrealm.c
+++ b/eBones/krb/getrealm.c
@@ -6,13 +6,15 @@
* routine to convert hostname into realm name.
*
* from: getrealm.c,v 4.6 90/01/02 13:35:56 jtkohl Exp $
- * $Id: getrealm.c,v 1.1.1.1 1994/09/30 14:50:00 csgr Exp $
+ * $Id: getrealm.c,v 1.3 1995/07/18 16:38:46 mark Exp $
*/
+#if 0
#ifndef lint
static char rcsid[] =
-"$Id: getrealm.c,v 1.1.1.1 1994/09/30 14:50:00 csgr Exp $";
+"$Id: getrealm.c,v 1.3 1995/07/18 16:38:46 mark Exp $";
#endif lint
+#endif
#include <strings.h>
#include <stdio.h>
@@ -45,9 +47,7 @@ static char rcsid[] =
static char ret_realm[REALM_SZ+1];
-char *
-krb_realmofhost(host)
-char *host;
+char *krb_realmofhost(char *host)
{
char *domain;
FILE *trans_file;
OpenPOWER on IntegriCloud