There is a prototype not used and two other prototypes that
are used only internally inside the function.
Make such functions static and drop the unused one.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
buffer[pos] = '\0';
}
-bool row_record_is_same_row(struct row_record *rr1, struct row_record *rr2)
+static bool row_record_is_same_row(struct row_record *rr1,
+ struct row_record *rr2)
{
if (!rr1 || !rr2 || rr1->type != rr2->type)
return false;
return true;
}
-void row_record_copy(struct row_record *dst, struct row_record *src)
+static void row_record_copy(struct row_record *dst, struct row_record *src)
{
if (!dst || !src)
return;
unsigned int count, time_t time);
void ras_row_account_init(void);
void ras_record_row_error(const char *detail, unsigned count, time_t time, unsigned long long addr);
-
-bool row_record_is_same_row(struct row_record *rr1, struct row_record *rr2);
-void row_record_copy(struct row_record *dst, struct row_record *src);
-void row_record_free(struct row_record *rr);
void row_record_infos_free(void);
#endif