mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
@@ -28,7 +28,7 @@
|
||||
|
||||
|
||||
struct _testFileCacheObj {
|
||||
virObject object;
|
||||
virObject parent;
|
||||
char *data;
|
||||
};
|
||||
typedef struct _testFileCacheObj testFileCacheObj;
|
||||
|
||||
Reference in New Issue
Block a user