diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/krb5/narrow.h | 42 | ||||
| -rw-r--r-- | src/include/krb5/widen.h | 50 |
2 files changed, 0 insertions, 92 deletions
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 <krb5/widen.h> - * and <krb5/base-defs.h> - */ - -#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 <krb5/narrow.h> - * and <krb5/base-defs.h> - */ - -#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 */ |
