From ba9bf9a0784e0171f68152c41a9cd4e6ea4af584 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 26 Jan 1995 02:05:32 +0000 Subject: [PATCH] Removing narrow.h and widen.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4844 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/narrow.h | 42 -------------------------------- src/include/krb5/widen.h | 50 --------------------------------------- 2 files changed, 92 deletions(-) delete mode 100644 src/include/krb5/narrow.h delete mode 100644 src/include/krb5/widen.h diff --git a/src/include/krb5/narrow.h b/src/include/krb5/narrow.h deleted file mode 100644 index 2a9accdb7..000000000 --- a/src/include/krb5/narrow.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * include/krb5/narrow.h - * - * Copyright 1990 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. 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. - * - * - * definitions to un-widen prototype types...see - * and - */ - -#ifndef NARROW_PROTOTYPES - -/* only needed if not narrow, i.e. wide */ - -#undef krb5_boolean -#undef krb5_msgtype -#undef krb5_kvno - -#undef krb5_addrtype -#undef krb5_keytype -#undef krb5_enctype -#undef krb5_cksumtype -#undef krb5_authdatatype - -#endif /* not NARROW_PROTOTYPES */ diff --git a/src/include/krb5/widen.h b/src/include/krb5/widen.h deleted file mode 100644 index fc19cd107..000000000 --- a/src/include/krb5/widen.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * include/krb5/widen.h - * - * Copyright 1990 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. 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. - * - * - * definitions to widen prototype types temporarily...also see - * and - */ - -#ifndef NARROW_PROTOTYPES - -/* WARNING ! ! ! - Only include declarations in source files between this file and narrow.h - if none of the functions declared therein uses pointers to any of the - narrowed types. If you're not careful, you could widen the pointed-to - object, which is WRONG. - */ - -/* only needed if not narrow, i.e. wide */ - -#define krb5_boolean int -#define krb5_msgtype int -#define krb5_kvno int - -/* these are unsigned shorts, but promote to signed ints. Ick. */ -#define krb5_addrtype int -#define krb5_keytype int -#define krb5_enctype int -#define krb5_cksumtype int -#define krb5_authdatatype int - -#endif /* not NARROW_PROTOTYPES */ -- 2.26.2