aboutsummaryrefslogtreecommitdiffstats
path: root/libinstaller
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-19 16:52:36 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-19 16:52:36 -0800
commitbc7ea9c422f98f969dca78b4736718e3c44edd9b (patch)
tree0f4587c25fb8260511c9b7fb899555ce1510ffbe /libinstaller
parentfe7dbcbaec8b5210604f942f322cecf55a37abe0 (diff)
downloadsyslinux.git-bc7ea9c422f98f969dca78b4736718e3c44edd9b.tar.gz
syslinux.git-bc7ea9c422f98f969dca78b4736718e3c44edd9b.tar.xz
syslinux.git-bc7ea9c422f98f969dca78b4736718e3c44edd9b.zip
Whitespace cleanup...syslinux-3.62-pre11
Diffstat (limited to 'libinstaller')
-rw-r--r--libinstaller/setadv.c7
-rw-r--r--libinstaller/syslxint.h2
2 files changed, 4 insertions, 5 deletions
diff --git a/libinstaller/setadv.c b/libinstaller/setadv.c
index 4756a97d..c768d1b1 100644
--- a/libinstaller/setadv.c
+++ b/libinstaller/setadv.c
@@ -1,5 +1,5 @@
/* ----------------------------------------------------------------------- *
- *
+ *
* Copyright 2007-2008 H. Peter Anvin - All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
@@ -37,11 +37,11 @@ static void cleanup_adv(unsigned char *advbuf)
/* Make sure both copies agree, and update the checksum */
set_32(advbuf, ADV_MAGIC1);
-
+
csum = ADV_MAGIC2;
for (i = 8; i < ADV_SIZE-4; i += 4)
csum -= get_32(advbuf+i);
-
+
set_32(advbuf+4, csum);
set_32(advbuf+ADV_SIZE-4, ADV_MAGIC3);
@@ -157,4 +157,3 @@ int syslinux_validate_adv(unsigned char *advbuf)
return -1;
}
}
-
diff --git a/libinstaller/syslxint.h b/libinstaller/syslxint.h
index 852f9e36..120026de 100644
--- a/libinstaller/syslxint.h
+++ b/libinstaller/syslxint.h
@@ -1,5 +1,5 @@
/* ----------------------------------------------------------------------- *
- *
+ *
* Copyright 2007-2008 H. Peter Anvin - All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify