Skip to content

Commit

Permalink
dp: use void * to express empty output argument list
Browse files Browse the repository at this point in the history
Since we cannot use plain void type is function definition.

Related:
https://pagure.io/SSSD/sssd/issue/2840

Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
  • Loading branch information
pbrezina authored and jhrozek committed Nov 21, 2017
1 parent 3ee8659 commit 6211a20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/providers/data_provider/dp_private.h
Expand Up @@ -136,7 +136,7 @@ typedef void (*dp_req_reply_fn)(const char *req_name,

void dp_req_reply_default(const char *req_name,
struct sbus_request *sbus_req,
void *data);
void **data);

/* Data provider request table. */

Expand Down
2 changes: 1 addition & 1 deletion src/providers/data_provider/dp_request_reply.c
Expand Up @@ -31,7 +31,7 @@

void dp_req_reply_default(const char *req_name,
struct sbus_request *sbus_req,
void *data)
void **data)
{
DP_REQ_DEBUG(SSSDBG_TRACE_FUNC, req_name, "Replying with empty message");

Expand Down

0 comments on commit 6211a20

Please sign in to comment.