Tired of all those unused warings. Remove the static inline stuff.

It's probably not worth the performance gains. (And if it is we can
turn into a #define)
This commit is contained in:
rocky
2003-04-11 17:33:03 +00:00
parent ea8c916e60
commit 5122b0b61c
2 changed files with 28 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: sector.c,v 1.1 2003/03/24 19:01:09 rocky Exp $
$Id: sector.c,v 1.2 2003/04/11 17:33:03 rocky Exp $
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
@@ -26,7 +26,7 @@
#include "sector.h"
#include "util.h"
static const char _rcsid[] = "$Id: sector.c,v 1.1 2003/03/24 19:01:09 rocky Exp $";
static const char _rcsid[] = "$Id: sector.c,v 1.2 2003/04/11 17:33:03 rocky Exp $";
void
cdio_lba_to_msf (uint32_t lba, msf_t *msf)
@@ -38,6 +38,18 @@ cdio_lba_to_msf (uint32_t lba, msf_t *msf)
msf->f = to_bcd8 (lba % 75);
}
lba_t
cdio_lba_to_lsn (lba_t lba)
{
return lba - CDIO_PREGAP_SECTORS;
}
lba_t
cdio_lsn_to_lba (lsn_t lsn)
{
return lsn + CDIO_PREGAP_SECTORS;
}
void
cdio_lsn_to_msf (lsn_t lsn, msf_t *msf)
{