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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user