mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
lots of compiler warnings removed, C++-style comments removed, changed struc initialisation from 'field:value' to '.field=value'
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@771 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
16
drv_Sample.c
16
drv_Sample.c
@@ -585,17 +585,17 @@ int drv_Sample_quit2(const int quiet)
|
||||
|
||||
/* use this one for a text display */
|
||||
DRIVER drv_Sample = {
|
||||
name:Name,
|
||||
list:drv_Sample_list,
|
||||
init:drv_Sample_init,
|
||||
quit:drv_Sample_quit,
|
||||
.name = Name,
|
||||
.list = drv_Sample_list,
|
||||
.init = drv_Sample_init,
|
||||
.quit = drv_Sample_quit,
|
||||
};
|
||||
|
||||
|
||||
/* use this one for a graphic display */
|
||||
DRIVER drv_Sample2 = {
|
||||
name:Name,
|
||||
list:drv_Sample_list,
|
||||
init:drv_Sample_init2,
|
||||
quit:drv_Sample_quit2,
|
||||
.name = Name,
|
||||
.list = drv_Sample_list,
|
||||
.init = drv_Sample_init2,
|
||||
.quit = drv_Sample_quit2,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user