Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into main
  • Loading branch information
ClemensElflein committed Nov 4, 2024
2 parents 19e4a2f + 6dfe8ac commit b21cf9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions libxbot-service/include/xbot-service/Service.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ class Service : public ServiceIo {
* @param service Pointer to the service to start
* @return null
*/
static void *startProcessingHelper(void *service) {
static void startProcessingHelper(void *service) {
static_cast<Service *>(service)->runProcessing();
return nullptr;
}

protected:
Expand Down
2 changes: 1 addition & 1 deletion libxbot-service/include/xbot-service/portable/thread.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace xbot::service::thread {
typedef XBOT_THREAD_TYPEDEF* ThreadPtr;

bool initialize(ThreadPtr thread, void* (*threadfunc)(void*), void* arg,
bool initialize(ThreadPtr thread, void (*threadfunc)(void*), void* arg,
void* stackbuf, size_t buflen);
void deinitialize(ThreadPtr thread);
} // namespace xbot::service::thread
Expand Down

0 comments on commit b21cf9a

Please sign in to comment.