Skip to content

Commit c372647

Browse files
committed
Add the static to the cnanovdb_readaccessor_init to match the other
cnanovdb_readaccessor linkage settings. Signed-off-by: Jeff Lait <jlait@andorra.sidefx.com>
1 parent cbfcd73 commit c372647

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nanovdb/nanovdb/CNanoVDB.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ cnanovdb_rootdata##SUFFIX##_isActiveAndCache(const CNANOVDB_GLOBAL cnanovdb_root
765765
/**/
766766

767767

768-
inline void
768+
static inline void
769769
cnanovdb_readaccessor_init(cnanovdb_readaccessor *RESTRICT acc,
770770
const CNANOVDB_GLOBAL void /*cnanovdb_rootdata* */ *RESTRICT rootdata)
771771
{
@@ -921,7 +921,7 @@ cnanovdb_griddata_valid(const CNANOVDB_GLOBAL cnanovdb_griddata *RESTRICT grid)
921921
{
922922
if (!grid)
923923
return 0;
924-
if (grid->mMagic != 0x304244566f6e614eUL && grid->mMagic != 0x314244566f6e614eUL)
924+
if (grid->mMagic != 0x304244566f6e614eUL)
925925
return 0;
926926
return 1;
927927
}

0 commit comments

Comments
 (0)