mainloop: constify get_retval functions

This commit is contained in:
Lyndon Brown 2018-05-27 06:39:11 +01:00 committed by Arun Raghavan
parent 277c3735df
commit 9b5077c468
4 changed files with 4 additions and 4 deletions

View file

@ -96,7 +96,7 @@ a negative value on error. On success returns the number of source dispatched. *
int pa_mainloop_dispatch(pa_mainloop *m);
/** Return the return value as specified with the main loop's quit() routine. */
int pa_mainloop_get_retval(pa_mainloop *m);
int pa_mainloop_get_retval(const pa_mainloop *m);
/** Run a single iteration of the main loop. This is a convenience function
for pa_mainloop_prepare(), pa_mainloop_poll() and pa_mainloop_dispatch().