Skip to content

Commit 5e5bc61

Browse files
committed
OVAL/dpkginfo: Fix dangling '*' in dpkginfo_free_reply declaration.
This function is not supposed to return anything.
1 parent b0362cc commit 5e5bc61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/OVAL/probes/unix/linux/dpkginfo-helper.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ struct dpkginfo_reply_t * dpkginfo_get_by_name(const char *name, int *err)
112112
return reply;
113113
}
114114

115-
void * dpkginfo_free_reply(struct dpkginfo_reply_t *reply)
115+
void dpkginfo_free_reply(struct dpkginfo_reply_t *reply)
116116
{
117117
if (reply) {
118118
free(reply->name);

src/OVAL/probes/unix/linux/dpkginfo-helper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ int dpkginfo_fini();
4040

4141
struct dpkginfo_reply_t * dpkginfo_get_by_name(const char *name, int *err);
4242

43-
void * dpkginfo_free_reply(struct dpkginfo_reply_t *reply);
43+
void dpkginfo_free_reply(struct dpkginfo_reply_t *reply);
4444

4545
#ifdef __cplusplus
4646
}

0 commit comments

Comments
 (0)