~ubuntu-branches/ubuntu/trusty/grub2/trusty-updates

« back to all changes in this revision

Viewing changes to util/render-label.c

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-12-26 00:52:47 UTC
  • mto: (17.6.37 experimental)
  • mto: This revision was merged to the branch mainline in revision 184.
  • Revision ID: package-import@ubuntu.com-20131226005247-dalaa9te0g0d49kd
Tags: upstream-2.02~beta2
ImportĀ upstreamĀ versionĀ 2.02~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include <config.h>
21
21
 
22
22
#include <grub/util/misc.h>
 
23
#include <grub/util/install.h>
23
24
#include <grub/i18n.h>
24
25
#include <grub/term.h>
25
26
#include <grub/font.h>
32
33
#include <stdio.h>
33
34
#include <stdlib.h>
34
35
#include <string.h>
35
 
#include <argp.h>
36
36
#include <unistd.h>
37
37
#include <errno.h>
38
38
 
41
41
  grub_uint8_t magic;
42
42
  grub_uint16_t width;
43
43
  grub_uint16_t height;
44
 
} __attribute__ ((packed));
 
44
} GRUB_PACKED;
45
45
 
46
46
static struct grub_video_palette_data ieee1275_palette[256];
47
47
 
167
167
  fontfull = xasprintf ("(host)/%s", t);
168
168
  free (t);
169
169
 
170
 
  grub_init_all ();
171
 
  grub_hostfs_init ();
172
 
  grub_host_init ();
173
 
 
174
170
  grub_font_loader_init ();
175
171
  font = grub_font_load (fontfull);
176
172
  if (!font)