Skip to content

Commit

Permalink
Fixed Build Error
Browse files Browse the repository at this point in the history
  • Loading branch information
NetajiPanigrahi committed Jan 16, 2025
1 parent 497c2a2 commit eb7c8c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/rbus/rbus_asyncsubscribe.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#ifdef __cplusplus
extern "C" {
#endif
#define RBUS_SUBSCRIBE_MAXWAIT 60000 /*subscribe retry max wait between retries in miliseconds*/
void rbusAsyncSubscribe_AddSubscription(rbusEventSubscription_t* subscription, rbusMessage payload);
bool rbusAsyncSubscribe_RemoveSubscription(rbusEventSubscription_t* subscription);
bool rbusAsyncSubscribe_GetSubscription(rbusHandle_t handle, char const* eventName, rbusFilter_t filter);
Expand Down
4 changes: 3 additions & 1 deletion src/rbus/rbus_handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
#include "rbus_handle.h"
#include <string.h>
#include <rbuscore.h>

#include <rtMemory.h>
#include <unistd.h>
#include <stdlib.h>
static rtVector gHandleList = NULL;

#define VERIFY_NULL(T,R) if(NULL == T){ RBUSLOG_ERROR(#T" is NULL"); R; }
Expand Down
2 changes: 2 additions & 0 deletions src/rbus/rbus_handle.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ extern "C" {
#endif

#define RBUS_SUBSCRIBE_TIMEOUT 600000 /*subscribe retry timeout in miliseconds*/
#define RBUS_SUBSCRIBE_MAXWAIT 60000 /*subscribe retry max wait between retries in miliseconds*/

/*
RBUS_MAX_HANDLES 16
Expand Down

0 comments on commit eb7c8c8

Please sign in to comment.