]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Additional clean up of vmware_pack files.
authorJohn Wolfe <jwolfe@vmware.com>
Fri, 11 Sep 2020 19:11:05 +0000 (12:11 -0700)
committerJohn Wolfe <jwolfe@vmware.com>
Fri, 11 Sep 2020 19:11:05 +0000 (12:11 -0700)
open-vm-tools/libDeployPkg/deployPkgFormat.h

index 595b652c0940e152d6654707ddcc4f8f2c1416d8..4ab1c69baa94bca1493058a5f60ff3152835d88e 100644 (file)
@@ -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 {
  * </pre>
  */
 
-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"