Skip to content

Commit be27afa

Browse files
authored
Update README.md
1 parent 6ca53bd commit be27afa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ The following functions are available. If you're using the library in a C++ code
8484
8585
### smbios_initialize
8686
87-
`int smbios_initialize(struct ParserContext *context, const uint8_t *data, size_t size, enum SpecVersion version )`
87+
`int smbios_initialize(struct ParserContext *context, const uint8_t *data, size_t size, int version )`
8888
8989
Initialize the SMBIOS parser.
9090
@@ -124,7 +124,7 @@ The function returns SMBERR_OK on success or a negative error code.
124124
125125
### smbios_get_version
126126
127-
`int smbios_get_version(struct ParserContext *context, enum SpecVersion *selected, enum SpecVersion *original)`
127+
`int smbios_get_version(struct ParserContext *context, int *selected, int *original)`
128128
129129
Returns the selected and/or the original SMBIOS versions.
130130
@@ -153,4 +153,4 @@ The function returns the string associated with the given index or `NULL` in cas
153153
154154
## License
155155
156-
The library is distributed under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).
156+
The library is distributed under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).

0 commit comments

Comments
 (0)