mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-23 10:14:55 +00:00
For consistency use 'unsigned' instead of 'u_int'.
This commit is contained in:
parent
de87749b4a
commit
15c7f46bcf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165327
|
@ -60,7 +60,7 @@
|
|||
|
||||
struct ggd_connection {
|
||||
off_t c_mediasize;
|
||||
u_int c_sectorsize;
|
||||
unsigned c_sectorsize;
|
||||
unsigned c_flags; /* flags (RO/RW) */
|
||||
int c_diskfd;
|
||||
int c_sendfd;
|
||||
|
|
|
@ -149,10 +149,10 @@ g_gate_mediasize(int fd)
|
|||
return (mediasize);
|
||||
}
|
||||
|
||||
u_int
|
||||
unsigned
|
||||
g_gate_sectorsize(int fd)
|
||||
{
|
||||
u_int secsize;
|
||||
unsigned secsize;
|
||||
struct stat sb;
|
||||
|
||||
if (fstat(fd, &sb) == -1)
|
||||
|
|
|
@ -98,7 +98,7 @@ void g_gate_log(int priority, const char *message, ...);
|
|||
void g_gate_xvlog(const char *message, va_list ap);
|
||||
void g_gate_xlog(const char *message, ...);
|
||||
off_t g_gate_mediasize(int fd);
|
||||
u_int g_gate_sectorsize(int fd);
|
||||
unsigned g_gate_sectorsize(int fd);
|
||||
void g_gate_open_device(void);
|
||||
void g_gate_close_device(void);
|
||||
void g_gate_ioctl(unsigned long req, void *data);
|
||||
|
|
Loading…
Reference in a new issue