Added declarations for target-specific static drivers being part of the C library.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5925 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2012-11-07 23:20:58 +00:00
parent 3ba33a0205
commit fa6dae8fa9
14 changed files with 155 additions and 26 deletions

View File

@@ -5113,8 +5113,6 @@ be used in presence of a prototype.
<verb>
#include <serial.h>
extern void lynx_comlynx[];
static void initialize(){
struct ser_params params = {
SER_BAUD_9600,
@@ -5179,9 +5177,7 @@ used in presence of a prototype.
<ref id="ser_uninstall" name="ser_uninstall">,
<ref id="ser_unload" name="ser_unload">
<tag/Example/<verb>
extern void lynx_comlynx[]; //Include the driver statically instead of loading it.
ser_install(lynx_comlynx);
ser_install(lynx_comlynx); //Include the driver statically instead of loading it.
</verb>
</descrip>
</quote>
@@ -5246,8 +5242,6 @@ be used in presence of a prototype.
<verb>
#include <serial.h>
extern void lynx_comlynx[];
static void initialize(){
struct ser_params params = {
SER_BAUD_9600,