]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/commitdiff
trackfds.h: Add missing inline for consistency.
authorSimon Ruderich <simon@ruderich.org>
Thu, 13 Jun 2013 19:34:29 +0000 (21:34 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 13 Jun 2013 19:34:29 +0000 (21:34 +0200)
src/trackfds.h

index b9089bbd25b0444772c6442ca27dedd3ac7e4334..ed2ea57738227a046ee290ded817182d9bca1e4a 100644 (file)
@@ -325,7 +325,7 @@ static int tracked_fds_find_slow(int fd) noinline;
  * they are not called often enough.
  */
 inline static int tracked_fds_find(int fd) always_inline;
-static int tracked_fds_find(int fd) {
+inline static int tracked_fds_find(int fd) {
     assert(fd >= 0);
 
     if (fd < TRACKFDS_STATIC_COUNT) {