Skip to content

Commit

Permalink
[nvo] Expose nvo_applies()
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Oct 15, 2012
1 parent 08a6ae8 commit 0fd29e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/nvo.c
Expand Up @@ -192,8 +192,8 @@ static int nvo_save ( struct nvo_block *nvo ) {
* @v setting Setting
* @ret applies Setting applies within this settings block
*/
static int nvo_applies ( struct settings *settings __unused,
struct setting *setting ) {
int nvo_applies ( struct settings *settings __unused,
struct setting *setting ) {

return dhcpopt_applies ( setting->tag );
}
Expand Down
1 change: 1 addition & 0 deletions src/include/ipxe/nvo.h
Expand Up @@ -45,6 +45,7 @@ struct nvo_block {
/** Name of non-volatile options settings block */
#define NVO_SETTINGS_NAME "nvo"

extern int nvo_applies ( struct settings *settings, struct setting *setting );
extern void nvo_init ( struct nvo_block *nvo, struct nvs_device *nvs,
size_t address, size_t len,
int ( * resize ) ( struct nvo_block *nvo, size_t len ),
Expand Down

0 comments on commit 0fd29e1

Please sign in to comment.