From: Aurelio <sk...@us...> - 2007-08-19 23:41:17
|
Update of /cvsroot/zyxel630-11/amedyn2/module In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv14382 Modified Files: amedyn2.c Log Message: "local" functions should be declared static: format_message, send_block (Xavier) Index: amedyn2.c =================================================================== RCS file: /cvsroot/zyxel630-11/amedyn2/module/amedyn2.c,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** amedyn2.c 19 Aug 2007 23:35:02 -0000 1.18 --- amedyn2.c 19 Aug 2007 23:41:19 -0000 1.19 *************** *** 149,153 **** /* From userspace tool */ /* format a message */ ! void format_message(int cmd, int ldata, int address, char *bufin) { char buf[8]; /* initial bytes of a message */ --- 149,153 ---- /* From userspace tool */ /* format a message */ ! static void format_message(int cmd, int ldata, int address, char *bufin) { char buf[8]; /* initial bytes of a message */ *************** *** 168,172 **** /* From userspace tool */ ! int send_block(struct amedyn_instance_data *instance, int place, char *bufin, int len) { struct usb_device *dev = instance->usbatm->usb_dev; --- 168,172 ---- /* From userspace tool */ ! static int send_block(struct amedyn_instance_data *instance, int place, char *bufin, int len) { struct usb_device *dev = instance->usbatm->usb_dev; |