diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2003-04-27 20:01:37 +0200 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2003-04-27 20:01:37 +0200 |
commit | 796b9a5495673a3b701a93e56d3578768d912fd3 (patch) | |
tree | f7122dcfad884d3fb02f68c9a6187b9a649fc0c8 | |
parent | - (bal) Bug #541: return; was dropped by mistake. Reported by (diff) | |
download | openssh-796b9a5495673a3b701a93e56d3578768d912fd3.tar.xz openssh-796b9a5495673a3b701a93e56d3578768d912fd3.zip |
- (bal) Since we don't support platforms lacking u_int_64. We may
as well clean out some of those evil #ifdefs
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | bufaux.c | 4 | ||||
-rw-r--r-- | bufaux.h | 2 |
3 files changed, 3 insertions, 7 deletions
@@ -1,6 +1,8 @@ 20030427 - (bal) Bug #541: return; was dropped by mistake. Reported by furrier@iglou.com + - (bal) Since we don't support platforms lacking u_int_64. We may + as well clean out some of those evil #ifdefs 20030409 - (djm) Bug #539: Specify creation mode with O_CREAT for lastlog. Report @@ -1341,4 +1343,4 @@ save auth method before monitor_reset_key_state(); bugzilla bug #284; ok provos@ -$Id: ChangeLog,v 1.2659 2003/04/27 17:55:33 mouring Exp $ +$Id: ChangeLog,v 1.2660 2003/04/27 18:01:37 mouring Exp $ @@ -165,7 +165,6 @@ buffer_get_int(Buffer *buffer) return GET_32BIT(buf); } -#ifdef HAVE_U_INT64_T u_int64_t buffer_get_int64(Buffer *buffer) { @@ -174,7 +173,6 @@ buffer_get_int64(Buffer *buffer) buffer_get(buffer, (char *) buf, 8); return GET_64BIT(buf); } -#endif /* * Stores integers in the buffer, msb first. @@ -197,7 +195,6 @@ buffer_put_int(Buffer *buffer, u_int value) buffer_append(buffer, buf, 4); } -#ifdef HAVE_U_INT64_T void buffer_put_int64(Buffer *buffer, u_int64_t value) { @@ -206,7 +203,6 @@ buffer_put_int64(Buffer *buffer, u_int64_t value) PUT_64BIT(buf, value); buffer_append(buffer, buf, 8); } -#endif /* * Returns an arbitrary binary string from the buffer. The string cannot @@ -29,10 +29,8 @@ void buffer_put_short(Buffer *, u_short); u_int buffer_get_int(Buffer *); void buffer_put_int(Buffer *, u_int); -#ifdef HAVE_U_INT64_T u_int64_t buffer_get_int64(Buffer *); void buffer_put_int64(Buffer *, u_int64_t); -#endif int buffer_get_char(Buffer *); void buffer_put_char(Buffer *, int); |