MCPcopy Create free account
hub / github.com/NetHack/NetHack / count_and_validate_soundlibopts

Function count_and_validate_soundlibopts

src/mdlib.c:626–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624
625#if !defined(MAKEDEFS_C)
626staticfn int
627count_and_validate_soundlibopts(void)
628{
629 int i, cnt = 0;
630
631 /* soundlib_opts has a fencepost entry at the end */
632 for (i = 0; i < SIZE(soundlib_opts) - 1; i++) {
633 ++cnt;
634 soundlib_opts[i].valid = TRUE;
635 }
636 return cnt;
637}
638#endif
639
640staticfn void

Callers 1

build_optionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected