diff options
| author | Theodore Tso <tytso@mit.edu> | 1995-01-26 02:05:32 +0000 |
|---|---|---|
| committer | Theodore Tso <tytso@mit.edu> | 1995-01-26 02:05:32 +0000 |
| commit | ba9bf9a0784e0171f68152c41a9cd4e6ea4af584 (patch) | |
| tree | 3c9a856691b6299db7a530f939b07e3963d19c60 /src/include | |
| parent | 96457c9ad31a1072f94b3b7118f19e31fc445ea7 (diff) | |
| download | krb5-ba9bf9a0784e0171f68152c41a9cd4e6ea4af584.tar.gz krb5-ba9bf9a0784e0171f68152c41a9cd4e6ea4af584.tar.xz krb5-ba9bf9a0784e0171f68152c41a9cd4e6ea4af584.zip | |
Removing narrow.h and widen.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4844 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
| -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 2a9accdb78..0000000000 --- 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 fc19cd1071..0000000000 --- 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 */ |
