Ensure all lines that should be omitted from public includes are marked
[AROS.git] / arch / all-pc / boot / grub2-aros / util / devicemap.c
blobc61864420a80ebe9f3d8856fe3dc031cf70ed1f1
1 #include <stdio.h>
3 #include <grub/util/deviceiter.h>
5 void
6 grub_util_emit_devicemap_entry (FILE *fp, char *name, int is_floppy,
7 int *num_fd, int *num_hd)
9 if (is_floppy)
10 fprintf (fp, "(fd%d)\t%s\n", (*num_fd)++, name);
11 else
12 fprintf (fp, "(hd%d)\t%s\n", (*num_hd)++, name);