Skip to content

Commit

Permalink
fix cpplint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bmagyar committed Aug 21, 2022
1 parent 3736a79 commit b50eeab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions include/realtime_tools/thread_priority.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/

#ifndef REALTIME_TOOLS__JOINT_THREAD_PRIORITY_HPP_
#define REALTIME_TOOLS__JOINT_THREAD_PRIORITY_HPP_
#ifndef REALTIME_TOOLS__THREAD_PRIORITY_HPP_
#define REALTIME_TOOLS__THREAD_PRIORITY_HPP_

namespace realtime_tools
{
Expand All @@ -47,4 +47,4 @@ bool configure_sched_fifo(int priority);

} // namespace realtime_tools

#endif // REALTIME_TOOLS__JOINT_THREAD_PRIORITY_HPP_
#endif // REALTIME_TOOLS__THREAD_PRIORITY_HPP_
3 changes: 2 additions & 1 deletion src/thread_priority.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@

#include "realtime_tools/thread_priority.hpp"

#include <sched.h>

#include <cstring>
#include <fstream>
#include <sched.h>

namespace realtime_tools
{
Expand Down

0 comments on commit b50eeab

Please sign in to comment.