summaryrefslogtreecommitdiffstats
path: root/src/include/k5-platform.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-03-08 04:18:31 +0000
committerKen Raeburn <raeburn@mit.edu>2006-03-08 04:18:31 +0000
commit59a772e257ac9012eaecd8c35f27c1e4630c80b0 (patch)
treed45b13209b4f216a33128e3b40d48e56c1a7fe68 /src/include/k5-platform.h
parent9a96c5372db9476322e689277469a56a5b4552be (diff)
downloadkrb5-59a772e257ac9012eaecd8c35f27c1e4630c80b0.tar.gz
krb5-59a772e257ac9012eaecd8c35f27c1e4630c80b0.tar.xz
krb5-59a772e257ac9012eaecd8c35f27c1e4630c80b0.zip
Enable compilation of little-endian unaligned load/store helper
functions in k5-platform.h, and use them in kdb encoding/decoding macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17710 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/k5-platform.h')
-rw-r--r--src/include/k5-platform.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/k5-platform.h b/src/include/k5-platform.h
index 7f7f3087b..af949dbd4 100644
--- a/src/include/k5-platform.h
+++ b/src/include/k5-platform.h
@@ -577,7 +577,6 @@ load_64_be (const unsigned char *p)
return ((UINT64_TYPE)load_32_be(p) << 32) | load_32_be(p+4);
#endif
}
-#if 0 /* don't need little-endian so far */
static inline void
store_16_le (unsigned int val, unsigned char *p)
{
@@ -655,7 +654,6 @@ load_64_le (const unsigned char *p)
return ((UINT64_TYPE)load_32_le(p+4) << 32) | load_32_le(p);
#endif
}
-#endif
/* Make the interfaces to getpwnam and getpwuid consistent.
Model the wrappers on the POSIX thread-safe versions, but