Skip to content

Commit 930be09

Browse files
committed
pbio/os: Fix missing declaration for making requests.
1 parent e1e46e9 commit 930be09

File tree

1 file changed

+3
-1
lines changed
  • lib/pbio/include/pbio

1 file changed

+3
-1
lines changed

lib/pbio/include/pbio/os.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ typedef enum {
9898
/**
9999
* Ask the process to cancel/exit.
100100
*/
101-
PBIO_OS_PROCESS_REQUEST_TYPE_CANCEL = 1 << 1,
101+
PBIO_OS_PROCESS_REQUEST_TYPE_CANCEL = 1 << 0,
102102
} pbio_os_process_request_type_t;
103103

104104
/**
@@ -290,6 +290,8 @@ struct _pbio_os_process_t {
290290
} \
291291
} while (0) \
292292

293+
void pbio_os_process_make_request(pbio_os_process_t *process, pbio_os_process_request_type_t request);
294+
293295
bool pbio_os_run_processes_once(void);
294296

295297
void pbio_os_run_processes_and_wait_for_event(void);

0 commit comments

Comments
 (0)