static-ize

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3752 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-11-02 04:07:52 +00:00
parent bab7c6f27b
commit dc88e6268e
5 changed files with 17 additions and 11 deletions

View File

@@ -61,7 +61,8 @@ static krb5_data msched5;
static int v4_db;
#endif
int open_socket(krb5_context context, const char *hostname)
static int
open_socket(krb5_context context, const char *hostname)
{
int s;
struct hostent *hp;
@@ -97,7 +98,7 @@ struct prop_data{
int hdb_entry2value(krb5_context, hdb_entry*, krb5_data*);
krb5_error_code
static krb5_error_code
v5_prop(krb5_context context, HDB *db, hdb_entry *entry, void *appdata)
{
krb5_error_code ret;
@@ -231,13 +232,14 @@ struct getargs args[] = {
static int num_args = sizeof(args) / sizeof(args[0]);
void usage(int ret)
static void
usage(int ret)
{
arg_printusage (args, num_args, "host ...");
exit (ret);
}
void
static void
get_creds(krb5_context context, krb5_ccache *cache)
{
krb5_keytab keytab;