svn rev #24319: trunk/src/clients/kinit/

ghudson@MIT.EDU ghudson at MIT.EDU
Wed Sep 15 13:45:32 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24319
Commit By: ghudson
Log Message:
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.



Changed Files:
U   trunk/src/clients/kinit/extern.h
Modified: trunk/src/clients/kinit/extern.h
===================================================================
--- trunk/src/clients/kinit/extern.h	2010-09-15 17:30:17 UTC (rev 24318)
+++ trunk/src/clients/kinit/extern.h	2010-09-15 17:45:31 UTC (rev 24319)
@@ -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 */




More information about the cvs-krb5 mailing list