summaryrefslogtreecommitdiffstats
path: root/src/clients
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2010-09-15 17:45:31 +0000
committerGreg Hudson <ghudson@mit.edu>2010-09-15 17:45:31 +0000
commit43b3f9cd4671c87c7ebf415987c94a04053a295d (patch)
treea40d7f832aea4d86a456873625ab8c04e54ee72d /src/clients
parent42406580b65efdcc2d92bd853c430263036f87c9 (diff)
downloadkrb5-43b3f9cd4671c87c7ebf415987c94a04053a295d.tar.gz
krb5-43b3f9cd4671c87c7ebf415987c94a04053a295d.tar.xz
krb5-43b3f9cd4671c87c7ebf415987c94a04053a295d.zip
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
Diffstat (limited to 'src/clients')
-rw-r--r--src/clients/kinit/extern.h41
1 files 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 */