Skip to content

Commit

Permalink
fix build errors, apologies for not being diligent!
Browse files Browse the repository at this point in the history
  • Loading branch information
brlcad committed Feb 1, 2024
1 parent 5197d07 commit 156d27a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/libdm/fb_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void
fb_set_standalone(struct fb *ifp, int val)
{
if (!ifp)
return 0;
return;
ifp->i->stand_alone = val;
}

Expand All @@ -103,11 +103,11 @@ fb_get_standalone(struct fb *ifp)
}

void
fb_setup_existing(struct fb *fbp, int width, int height, struct fb_platform_specific *fb_p)
fb_setup_existing(struct fb *ifp, int width, int height, struct fb_platform_specific *fb_p)
{
if (!ifp)
return 0;
if (fbp->i->if_open_existing) fbp->i->if_open_existing(fbp, width, height, fb_p);
return;
if (ifp->i->if_open_existing) ifp->i->if_open_existing(ifp, width, height, fb_p);
}

struct fb *
Expand Down Expand Up @@ -198,22 +198,22 @@ int fb_clear_fd(struct fb *ifp, fd_set *list)
void fb_set_magic(struct fb *ifp, uint32_t magic)
{
if (!ifp)
return 0;
return;
ifp->i->if_magic = magic;
}


struct dm *fb_get_dm(struct fb *ifp)
{
if (!ifp)
return 0;
return NULL;
return ifp->i->dmp;
}

const char *fb_gettype(struct fb *ifp)
{
if (!ifp)
return 0;
return NULL;
return ifp->i->if_type;
}

Expand Down

0 comments on commit 156d27a

Please sign in to comment.