rename global version_information and its struct type
This commit is contained in:
1 parent
1d11e6d153
commit
8280fc3c07
9 files changed
+11
-11
No files matched your search
+2
-2
@@ -11,12 +11,12 @@
|
||||
#include <string.h>
|
||||
|
||||
/* Similar to FpgaGatherVersion this formats stored version information
|
||||
* into a string representation. It takes a pointer to the struct version_information,
|
||||
* into a string representation. It takes a pointer to the struct version_information_t,
|
||||
* verifies the magic properties, then stores a formatted string, prefixed by
|
||||
* prefix in dst.
|
||||
*/
|
||||
void FormatVersionInformation(char *dst, int len, const char *prefix, void *version_info) {
|
||||
struct version_information *v = (struct version_information *)version_info;
|
||||
struct version_information_t *v = (struct version_information_t *)version_info;
|
||||
dst[0] = 0;
|
||||
strncat(dst, prefix, len - 1);
|
||||
if (v->magic != VERSION_INFORMATION_MAGIC) {
|
||||
|
||||
Reference in new issue
Block a user