Skip to content

Commit

Permalink
Fix "function name hides constructor for struct" warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Mar 13, 2019
1 parent 053483c commit 0a8c8c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/recorders/vbitext/lang.c
Expand Up @@ -140,7 +140,7 @@ add_enhance(struct enhance *eh, int dcode, unsigned int *t)
}

void
enhance(struct enhance *eh, struct vt_page *vtp)
do_enhancements(struct enhance *eh, struct vt_page *vtp)
{
int row = 0;
unsigned int *p, *e;
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/recorders/vbitext/lang.h
Expand Up @@ -21,7 +21,7 @@ void conv2latin(unsigned char *p, int n, int lang);

void init_enhance(struct enhance *eh);
void add_enhance(struct enhance *eh, int dcode, unsigned int *data);
void enhance(struct enhance *eh, struct vt_page *vtp);
void do_enhancements(struct enhance *eh, struct vt_page *vtp);

#ifdef __cplusplus
}
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/recorders/vbitext/vbi.c
Expand Up @@ -88,7 +88,7 @@ vbi_send_page(struct vbi *vbi, struct raw_page *rvtp, int page)
{
struct vt_page *cvtp = 0;
rvtp->page->flags &= ~PG_ACTIVE;
enhance(rvtp->enh, rvtp->page);
do_enhancements(rvtp->enh, rvtp->page);
// if (vbi->cache)
// cvtp = vbi->cache->op->put(vbi->cache, rvtp->page);
vbi_send(vbi, EV_PAGE, 0, 0, 0, cvtp ?: rvtp->page);
Expand Down

0 comments on commit 0a8c8c2

Please sign in to comment.