static-ize and fix fprintf

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3741 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-11-02 03:53:35 +00:00
parent 075e10b678
commit 57f97cb91b
2 changed files with 4 additions and 4 deletions

View File

@@ -85,7 +85,7 @@ parse_time_string(time_t *t, char *s)
return t;
}
unsigned*
static unsigned*
parse_integer(unsigned *u, char *s)
{
if(strcmp(s, "-") == 0)
@@ -250,7 +250,7 @@ doit(char *filename, int merge)
memset(&ent, 0, sizeof(ent));
ret = krb5_parse_name(context, e.principal, &ent.principal);
if(ret){
fprintf(stderr, "%s:%s:%s (%s)\n",
fprintf(stderr, "%s:%d:%s (%s)\n",
filename,
line,
krb5_get_err_text(context, ret),