[BusyBox-cvs] busybox/util-linux fdisk.c,1.15,1.16
Erik Andersen
andersen at busybox.net
Fri Jan 30 22:49:54 UTC 2004
Update of /var/cvs/busybox/util-linux
In directory nail:/tmp/cvs-serv11910/util-linux
Modified Files:
fdisk.c
Log Message:
s/u_int/uint/g
Index: fdisk.c
===================================================================
RCS file: /var/cvs/busybox/util-linux/fdisk.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- fdisk.c 19 Dec 2003 10:34:36 -0000 1.15
+++ fdisk.c 30 Jan 2004 22:49:51 -0000 1.16
@@ -954,7 +954,7 @@
#endif
#if defined (__alpha__)
-/* We access this through a u_int64_t * when checksumming */
+/* We access this through a uint64_t * when checksumming */
static char disklabelbuffer[BSD_BBSIZE] __attribute__((aligned(8)));
#else
static char disklabelbuffer[BSD_BBSIZE];
@@ -1712,16 +1712,16 @@
#if defined (__alpha__)
#if !defined(__GLIBC__)
-typedef unsigned long long u_int64_t;
+typedef unsigned long long uint64_t;
#endif
static void
alpha_bootblock_checksum (char *boot)
{
- u_int64_t *dp, sum;
+ uint64_t *dp, sum;
int i;
- dp = (u_int64_t *)boot;
+ dp = (uint64_t *)boot;
sum = 0;
for (i = 0; i < 63; i++)
sum += dp[i];
More information about the busybox-cvs
mailing list