/*
* Utility functions to track file descriptors.
*
- * Copyright (C) 2013 Simon Ruderich
+ * Copyright (C) 2013-2014 Simon Ruderich
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
return 0;
}
- if (fd < TRACKFDS_STATIC_COUNT) {
+ if (likely(fd < TRACKFDS_STATIC_COUNT)) {
return tracked_fds[fd];
}