mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-24 19:08:06 +00:00
Move a comment to the correct location.
This commit is contained in:
parent
5012c7f978
commit
f19a71a3db
@ -52,6 +52,11 @@ static struct intercept_closure *accept_closure;
|
|||||||
static void intercept_accept_cb(int fd, int what, void *v);
|
static void intercept_accept_cb(int fd, int what, void *v);
|
||||||
static void intercept_cb(int fd, int what, void *v);
|
static void intercept_cb(int fd, int what, void *v);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Create an intercept closure.
|
||||||
|
* Returns an opaque pointer to the closure, which is also
|
||||||
|
* passed to the event callback when not using ptrace(2).
|
||||||
|
*/
|
||||||
void *
|
void *
|
||||||
intercept_setup(int fd, struct sudo_event_base *evbase,
|
intercept_setup(int fd, struct sudo_event_base *evbase,
|
||||||
struct command_details *details)
|
struct command_details *details)
|
||||||
@ -917,8 +922,6 @@ intercept_cb(int fd, int what, void *v)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Accept a new connection from the client register a new event for it.
|
* Accept a new connection from the client register a new event for it.
|
||||||
* Returns an opaque pointer to the intercept closure, which is
|
|
||||||
* also passed to the event callback.
|
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
intercept_accept_cb(int fd, int what, void *v)
|
intercept_accept_cb(int fd, int what, void *v)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user