summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/tst01.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-03-24 18:55:39 +0000
committerjoerg <joerg@FreeBSD.org>1996-03-24 18:55:39 +0000
commit18d2a8c9e5387edcde838e92ed58f3612eae5509 (patch)
tree80feac0531a85adb4f38e22d68a6af44b6835fcb /lib/libdisk/tst01.c
parent4f2da6c6e432a586e31d4261f9c4110e109e428a (diff)
downloadFreeBSD-src-18d2a8c9e5387edcde838e92ed58f3612eae5509.zip
FreeBSD-src-18d2a8c9e5387edcde838e92ed58f3612eae5509.tar.gz
Make libdisk C++ aware:
- add __BEGIN_DECLS and __END_DECLS, - add a bunch of ``const'' qualifiers all over the place, - rename the `private' struct member into `private_data' to avoid the clash with the C++ keyword.
Diffstat (limited to 'lib/libdisk/tst01.c')
-rw-r--r--lib/libdisk/tst01.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libdisk/tst01.c b/lib/libdisk/tst01.c
index 76e479b..78da1010 100644
--- a/lib/libdisk/tst01.c
+++ b/lib/libdisk/tst01.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: tst01.c,v 1.15.2.1 1995/09/20 10:43:04 jkh Exp $
+ * $Id: tst01.c,v 1.16 1995/12/07 10:33:25 peter Exp $
*
*/
@@ -269,7 +269,6 @@ main(int argc, char **argv)
continue;
}
if (!strcasecmp(*cmds,"boot")) {
- extern u_char boot1[],boot2[];
Set_Boot_Blocks(d,boot1,boot2);
continue;
}
OpenPOWER on IntegriCloud