Place pointer signature consistently with rest of codebase.
Change-Id: Ie183a11724fe886036cf2929ca6acdfac989da9b
goto out;
}
-static GVariant* build_legacy_message_data(const struct NotifyParams *notify_params)
+static GVariant *build_legacy_message_data(const struct NotifyParams *notify_params)
{
assert(notify_params);
return g_variant_new("(ssss)", notify_params->cmd_name, notify_params->cmd_path, notify_params->appid, notify_params->pkgid);
}
-static GVariant* build_message_data(const struct NotifyParams *notify_params)
+static GVariant *build_message_data(const struct NotifyParams *notify_params)
{
assert(notify_params);
return NULL;
}
-GSList* get_filepaths(char *map_path)
+GSList *get_filepaths(char *map_path)
{
char *line = NULL;
size_t len = 0;
}
}
-char* get_rpm_info_as_string_for_pkgname(Header h, const char *pkg_name)
+char *get_rpm_info_as_string_for_pkgname(Header h, const char *pkg_name)
{
char *result = NULL;
return result;
}
-char* get_rpm_info_as_string(Header h)
+char *get_rpm_info_as_string(Header h)
{
const char *name = headerGetString(h, RPMTAG_NAME);
return get_rpm_info_as_string_for_pkgname(h, name);
}
-char* get_rpm_info(rpmts ts, const char* filename)
+char *get_rpm_info(rpmts ts, const char* filename)
{
char *rpm_info = NULL;
rpmdbFreeIterator(mi);
}
-char* get_app_name_from_path(const char *file_path)
+char *get_app_name_from_path(const char *file_path)
{
static const char *prefix[] = {"/usr/apps/",
"/opt/usr/globalapps/"};
* (argv and envp), which can be arrays of strings as well as NULL
* pointer.
*/
-char* concatenate(char *const vec[])
+char *concatenate(char *const vec[])
{
size_t length = 0;
for (char *const *p = vec; p && *p; p++)
bool filter_drop_trailing_whitespace(char *buf, int size, int datalen);
bool read_proc_file(pid_t pid, const char * const file, char *outbuf, size_t bufsize, charp0filter filter);
-char* concatenate(char *const vec[]);
+char *concatenate(char *const vec[]);
bool string_ends_with(const char *string, const char *suffix);