From: John Wolfe Date: Fri, 11 Sep 2020 19:11:05 +0000 (-0700) Subject: Additional clean up of vmware_pack files. X-Git-Tag: stable-11.2.0~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6b3847d7bd9b811faff47126da72436d0e69ea2;p=thirdparty%2Fopen-vm-tools.git Additional clean up of vmware_pack files. --- diff --git a/open-vm-tools/libDeployPkg/deployPkgFormat.h b/open-vm-tools/libDeployPkg/deployPkgFormat.h index 595b652c0..4ab1c69ba 100644 --- a/open-vm-tools/libDeployPkg/deployPkgFormat.h +++ b/open-vm-tools/libDeployPkg/deployPkgFormat.h @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 2006-2019 VMware, Inc. All rights reserved. + * Copyright (C) 2006-2020 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published @@ -107,10 +107,8 @@ typedef enum { * */ -typedef -#include "vmware_pack_begin.h" -struct -{ +#pragma pack(push, 1) +typedef struct { char signature[VMWAREDEPLOYPKG_SIGNATURE_LENGTH]; // Not null terminated. uint8 majorVersion; uint8 minorVersion; @@ -143,9 +141,8 @@ struct char seed[VMWAREDEPLOYPKG_SEED_LENGTH]; // offset 48 char command[VMWAREDEPLOYPKG_CMD_LENGTH]; // offset 56 -} -#include "vmware_pack_end.h" -VMwareDeployPkgHdr; +} VMwareDeployPkgHdr; +#pragma pack(pop) #ifdef _WIN32 #include "poppack.h"