more of pointless whitespace fixes

This commit is contained in:
Denis Vlasenko 2009-04-01 19:48:05 +00:00
parent bd79c3d337
commit 551ffdccea
8 changed files with 31 additions and 32 deletions

View File

@ -319,9 +319,9 @@ _INLINE_ __u32 blkid_swab32(__u32 val)
_INLINE_ __u16 blkid_swab16(__u16 val) _INLINE_ __u16 blkid_swab16(__u16 val)
{ {
__asm__("xchgb %b0,%h0" /* swap bytes */ \ __asm__("xchgb %b0,%h0" /* swap bytes */
: "=q" (val) \ : "=q" (val)
: "0" (val)); \ : "0" (val));
return val; return val;
} }

View File

@ -44,7 +44,6 @@ struct linux_rtc_wkalrm {
* ioctl calls that are permitted to the /dev/rtc interface, if * ioctl calls that are permitted to the /dev/rtc interface, if
* any of the RTC drivers are enabled. * any of the RTC drivers are enabled.
*/ */
#define RTC_AIE_ON _IO('p', 0x01) /* Alarm int. enable on */ #define RTC_AIE_ON _IO('p', 0x01) /* Alarm int. enable on */
#define RTC_AIE_OFF _IO('p', 0x02) /* ... off */ #define RTC_AIE_OFF _IO('p', 0x02) /* ... off */
#define RTC_UIE_ON _IO('p', 0x03) /* Update int. enable on */ #define RTC_UIE_ON _IO('p', 0x03) /* Update int. enable on */

View File

@ -67,7 +67,7 @@ struct dhcpOfferedAddr* FAST_FUNC add_lease(
if (hostname_length > sizeof(oldest->hostname)) if (hostname_length > sizeof(oldest->hostname))
hostname_length = sizeof(oldest->hostname); hostname_length = sizeof(oldest->hostname);
hostname = (uint8_t*) safe_strncpy((char*)oldest->hostname, (char*)hostname, hostname_length); hostname = (uint8_t*) safe_strncpy((char*)oldest->hostname, (char*)hostname, hostname_length);
/* sanitization (s/non-ACSII/^/g) */ /* sanitization (s/non-ASCII/^/g) */
while (*hostname) { while (*hostname) {
if (*hostname < ' ' || *hostname > 126) if (*hostname < ' ' || *hostname > 126)
*hostname = '^'; *hostname = '^';