]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Amall cleanup in api_public.h
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 12 Apr 2013 14:54:28 +0000 (16:54 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 12 Apr 2013 14:54:28 +0000 (16:54 +0200)
include/grub/uboot/api_public.h

index 35910ece67ef703da0530c481d34ac4f31b0bbd5..0707f5cffe4f957e941940299fdc99388404c099 100644 (file)
@@ -61,9 +61,6 @@
 
 typedef int (*scp_t) (int, int *, ...);
 
-typedef grub_uint16_t uint16_t;
-typedef grub_uint32_t uint32_t;
-
 #define API_SIG_VERSION        1
 #define API_SIG_MAGIC  "UBootAPI"
 #define API_SIG_MAGLEN 8
@@ -71,8 +68,8 @@ typedef grub_uint32_t uint32_t;
 struct api_signature
 {
   char magic[API_SIG_MAGLEN];  /* magic string */
-  uint16_t version;            /* API version */
-  uint32_t checksum;           /* checksum of this sig struct */
+  grub_uint16_t version;       /* API version */
+  grub_uint32_t checksum;      /* checksum of this sig struct */
   scp_t syscall;               /* entry point to the API */
 };