mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
2008-04-04 Pavel Roskin <proski@gnu.org>
* kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): Fix signedness warnings. * kern/powerpc/ieee1275/openfw.c (grub_available_iterate): Likewise. * util/ieee1275/get_disk_name.c: Include config.h so that _GNU_SOURCE is defined and getline() is declared. Mark an unused argument as such. Fix a signedness warning.
This commit is contained in:
1 parent
26887f221a
commit
070e49e4e8
4 files changed
+17
-6
No files matched your search
@@ -17,16 +17,17 @@
|
||||
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <stdio.h>
|
||||
#include <grub/util/misc.h>
|
||||
|
||||
char *
|
||||
grub_util_get_disk_name (int disk, char *name)
|
||||
grub_util_get_disk_name (int disk __attribute__ ((unused)), char *name)
|
||||
{
|
||||
int p[2];
|
||||
|
||||
char *line = NULL;
|
||||
int zero = 0;
|
||||
size_t zero = 0;
|
||||
int len;
|
||||
|
||||
pipe (p);
|
||||
|
||||
Reference in new issue
Block a user