From: ol.sc
Date: Thu, 1 Nov 2012 20:25:23 +0000 (+0000)
Subject: Refer to recently static drivers recently added to the C library and harmonized typin...
X-Git-Tag: V2.14~181
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1317caa08e6bf286b7de71e1d48079b519632ee6;p=cc65
Refer to recently static drivers recently added to the C library and harmonized typing of static driver addresses with recent additions of static standard drivers to header files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5893 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
diff --git a/doc/funcref.sgml b/doc/funcref.sgml
index d50c5479b..cf46ae7d7 100644
--- a/doc/funcref.sgml
+++ b/doc/funcref.sgml
@@ -5113,7 +5113,7 @@ be used in presence of a prototype.
#include
-extern char comlynx[];
+extern void lynx_comlynx[];
static void initialize(){
struct ser_params params = {
@@ -5123,7 +5123,7 @@ static void initialize(){
SER_PAR_MARK,
SER_HS_NONE
};
- ser_install(&comlynx); // This will activate the ComLynx
+ ser_install(lynx_comlynx); // This will activate the ComLynx
CLI();
ser_open(¶ms);
}
@@ -5179,9 +5179,9 @@ used in presence of a prototype.
[,
][
-extern char lynxser[]; //Include the driver statically instead of loading it.
+extern void lynx_comlynx[]; //Include the driver statically instead of loading it.
-ser_install(&lynxser);
+ser_install(lynx_comlynx);
]
@@ -5246,7 +5246,7 @@ be used in presence of a prototype.
#include
-extern char comlynx[];
+extern void lynx_comlynx[];
static void initialize(){
struct ser_params params = {
@@ -5256,7 +5256,7 @@ static void initialize(){
SER_PAR_MARK,
SER_HS_NONE
};
- ser_install(&comlynx); // This will activate the ComLynx
+ ser_install(lynx_comlynx); // This will activate the ComLynx
CLI();
ser_open(¶ms);
}
@@ -6611,8 +6611,7 @@ name="tgi_clear">/ after
-extern char lynxtgi[]; //Include the driver statically instead of loading it.
-tgi_install(&lynxtgi);
+tgi_install(tgi_static_stddrv); //Include the driver statically instead of loading it.
tgi_init(); //Set up the default palette and clear the screen.
@@ -6639,9 +6638,7 @@ used in presence of a prototype.
[,
][
-extern char lynxtgi[]; //Include the driver statically instead of loading it.
-
-tgi_install(&lynxtgi);
+tgi_install(tgi_static_stddrv); //Include the driver statically instead of loading it.
tgi_init(); //Set up the default palette and clear the screen.
]