summaryrefslogtreecommitdiff
path: root/bufaux.c
diff options
context:
space:
mode:
Diffstat (limited to 'bufaux.c')
-rw-r--r--bufaux.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bufaux.c b/bufaux.c
index 8066f77b5..16cd2d01c 100644
--- a/bufaux.c
+++ b/bufaux.c
@@ -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
169u_int64_t 168u_int64_t
170buffer_get_int64(Buffer *buffer) 169buffer_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
201void 198void
202buffer_put_int64(Buffer *buffer, u_int64_t value) 199buffer_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