From 43b3f9cd4671c87c7ebf415987c94a04053a295d Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Wed, 15 Sep 2010 17:45:31 +0000 Subject: [PATCH] Add a license statement to the new extern.h in kinit, use an include blocker which does not impinge on the system's symbol namespace, and use the recommended formatting for function prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24319 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/kinit/extern.h | 41 ++++++++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 6 deletions(-) diff --git a/src/clients/kinit/extern.h b/src/clients/kinit/extern.h index bdb962cec..23ecdc4e6 100644 --- a/src/clients/kinit/extern.h +++ b/src/clients/kinit/extern.h @@ -1,7 +1,36 @@ -#ifndef _KINIT_EXTERN_H -#define _KINIT_EXTERN_H -krb5_error_code -kinit_kdb_init (krb5_context *pcontext, - char *realm); +/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* + * clients/kinit/extern.h + * + * Copyright (C) 2010 by the Massachusetts Institute of Technology. + * All rights reserved. + * + * Export of this software from the United States of America may + * require a specific license from the United States Government. + * It is the responsibility of any person or organization contemplating + * export to obtain such a license before exporting. + * + * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and + * distribute this software and its documentation for any purpose and + * without fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright notice and + * this permission notice appear in supporting documentation, and that + * the name of M.I.T. not be used in advertising or publicity pertaining + * to distribution of the software without specific, written prior + * permission. Furthermore if you modify this software you must label + * your software as modified software and not distribute it in such a + * fashion that it might be confused with the original M.I.T. software. + * M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" without express + * or implied warranty. + * + * + * Global declarations for kinit. + */ -#endif +#ifndef KINIT_EXTERN_H +#define KINIT_EXTERN_H + +krb5_error_code kinit_kdb_init(krb5_context *pcontext, char *realm); + +#endif /* KINIT_EXTERN_H */ -- 2.26.2