src: Unify virObject member name

Whenever we declare a new object the first member of the struct
has to be virObject (or any other member of that family). Now, up
until now we did not care about the name of the struct member.
But lets unify it so that we can do some checks at compile time
later.

The unified name is 'parent'.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Michal Privoznik
2018-04-13 13:51:23 +02:00
parent cbbbe7b448
commit 4e42981b36
19 changed files with 33 additions and 33 deletions

View File

@@ -28,7 +28,7 @@
struct _testFileCacheObj {
virObject object;
virObject parent;
char *data;
};
typedef struct _testFileCacheObj testFileCacheObj;