]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
MSVC build issue: we use INLINE as the one that will magically work
authorNick Mathewson <nickm@torproject.org>
Mon, 14 May 2012 17:04:37 +0000 (13:04 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 14 May 2012 17:04:37 +0000 (13:04 -0400)
src/or/buffers.c

index d60e54e87a17df21245aa9e3c737b7482e2741aa..aa3e01fd9d80c0836d065dfcb330c50a9921d366 100644 (file)
@@ -1011,7 +1011,7 @@ fetch_from_buf(char *string, size_t string_len, buf_t *buf)
 
 /** True iff the cell command <b>command</b> is one that implies a
  * variable-length cell in Tor link protocol <b>linkproto</b>. */
-static inline int
+static INLINE int
 cell_command_is_var_length(uint8_t command, int linkproto)
 {
   /* If linkproto is v2 (2), CELL_VERSIONS is the only variable-length cells