diff options
Diffstat (limited to 'bufaux.c')
-rw-r--r-- | bufaux.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -165,7 +165,6 @@ buffer_get_int(Buffer *buffer) | |||
165 | return GET_32BIT(buf); | 165 | return GET_32BIT(buf); |
166 | } | 166 | } |
167 | 167 | ||
168 | #ifdef HAVE_U_INT64_T | ||
169 | u_int64_t | 168 | u_int64_t |
170 | buffer_get_int64(Buffer *buffer) | 169 | buffer_get_int64(Buffer *buffer) |
171 | { | 170 | { |
@@ -174,7 +173,6 @@ buffer_get_int64(Buffer *buffer) | |||
174 | buffer_get(buffer, (char *) buf, 8); | 173 | buffer_get(buffer, (char *) buf, 8); |
175 | return GET_64BIT(buf); | 174 | return GET_64BIT(buf); |
176 | } | 175 | } |
177 | #endif | ||
178 | 176 | ||
179 | /* | 177 | /* |
180 | * Stores integers in the buffer, msb first. | 178 | * Stores integers in the buffer, msb first. |
@@ -197,7 +195,6 @@ buffer_put_int(Buffer *buffer, u_int value) | |||
197 | buffer_append(buffer, buf, 4); | 195 | buffer_append(buffer, buf, 4); |
198 | } | 196 | } |
199 | 197 | ||
200 | #ifdef HAVE_U_INT64_T | ||
201 | void | 198 | void |
202 | buffer_put_int64(Buffer *buffer, u_int64_t value) | 199 | buffer_put_int64(Buffer *buffer, u_int64_t value) |
203 | { | 200 | { |
@@ -206,7 +203,6 @@ buffer_put_int64(Buffer *buffer, u_int64_t value) | |||
206 | PUT_64BIT(buf, value); | 203 | PUT_64BIT(buf, value); |
207 | buffer_append(buffer, buf, 8); | 204 | buffer_append(buffer, buf, 8); |
208 | } | 205 | } |
209 | #endif | ||
210 | 206 | ||
211 | /* | 207 | /* |
212 | * Returns an arbitrary binary string from the buffer. The string cannot | 208 | * Returns an arbitrary binary string from the buffer. The string cannot |