mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Use standard types
Replace uchar, uint, ulong, u_char, u_int, u_long, u_int* with their standard equivalents. Fixes warnings like these on OpenBSD: CC target/arch/unix/unix.o In file included from ../arch/unix/unix.c:29: ../include/config.h:26: warning: redefinition of `ulong' /usr/include/sys/types.h:56: warning: `ulong' previously declared here ../include/config.h:26: warning: redundant redeclaration of `ulong' in same scope Signed-off-by: Blue Swirl <blauwirbel@gmail.com> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@830 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -185,7 +185,7 @@ read_io( int fd, void *buf, size_t cnt )
|
||||
}
|
||||
|
||||
int
|
||||
seek_io( int fd, llong offs )
|
||||
seek_io( int fd, long long offs )
|
||||
{
|
||||
priv_fd_t *fdp;
|
||||
|
||||
@@ -200,11 +200,11 @@ seek_io( int fd, llong offs )
|
||||
}
|
||||
}
|
||||
|
||||
llong
|
||||
long long
|
||||
tell( int fd )
|
||||
{
|
||||
priv_fd_t *fdp = file_descriptors[fd];
|
||||
llong offs;
|
||||
long long offs;
|
||||
|
||||
if( lookup_xt(fdp->ih, "tell", &fdp->tell_xt) )
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user