c语言 prototype_requires ANSI-style prototype c语言程序有个错误找不出来,附加了程序,求大神看看...

compiling 11.c...

11.c(4): warning C318: can't open file 'lcd_1602.h'

11.c(5): warning C318: can't open file 'key.h'

11.c(6): warning C318: can't open file 'IIC_24C04.h'

11.C(55): warning C206: 'lcd_init': missing function-prototype

11.C(56): warning C206: 'IIC_24C04_Init': missing function-prototype

11.C(62): warning C206: 'keys_scan': missing function-prototype

11.C(120): warning C206: 'sendstring': missing function-prototype

11.C(120): error C267: 'sendstring': requires ANSI-style prototype

11.c(360): warning C316: unterminated conditionals

11.c - 1 Error(s), 8 Warning(s).

有一个错误怎么都看不出来,求大神帮下忙 啊

#include

#include

#include

#include

#include

#include

#define uchar unsigned char

#define uint unsigned int

uchar pre_keyno=16,keyno=16;

uchar code Title_Text[]="your password...";

uchar DSY_BUFFER[16]="                ";

uchar userpassword[7]="       ";

uchar IIC_Password[7];

uchar lS_Valid_User=0;

uchar i=0;

void display_string(uchar *str,uchar lineno);

void beep();

uchar Clear_Password();

sbit LED_OPEN=P2^0;

sbit BEEP=P3^7;

void delay(uint x)

{

uchar i;

while (x--)

for(i=0;i<120;i++);

}

void beep()

{

uchar i;

for(i=0;i<100;i++)

{

BEEP=~BEEP;

}

BEEP=0;

}

void clear_password()

{

uchar i;

for(i=0;i<6;i++)

{

userpassword[ i]=' ';

DSY_BUFFER[ i]=' ';

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值