summaryrefslogtreecommitdiff
path: root/camlibs/sonydscf1/command.h
diff options
context:
space:
mode:
authorArnaud Launay <asl@launay.org>2002-12-29 12:45:16 +0000
committerArnaud Launay <asl@launay.org>2002-12-29 12:45:16 +0000
commit65d768d6ecbea0b4e5d14cf30c6f26ba82073c9c (patch)
treeff95240a6aa4b325541e4eabe217deaf06d2224c /camlibs/sonydscf1/command.h
parentd85e4c11b5860f058d7eee627cc0f474368ffd22 (diff)
downloadlibgphoto2-65d768d6ecbea0b4e5d14cf30c6f26ba82073c9c.tar.gz
Fix warnings
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5984 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/sonydscf1/command.h')
-rw-r--r--camlibs/sonydscf1/command.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/camlibs/sonydscf1/command.h b/camlibs/sonydscf1/command.h
index 7c718907d..ffebf615b 100644
--- a/camlibs/sonydscf1/command.h
+++ b/camlibs/sonydscf1/command.h
@@ -10,15 +10,18 @@ void wbyte P__((u_char));
u_char rbyte P__((void));
void wstr P__((u_char *, int));
void rstr P__((u_char *, int));
-u_char checksum P__((u_char));
+u_char checksum(u_char addr, u_char *cp, int len);
int F1ok P__((void));
long F1getdata P__((char *, u_char *, int));
-
+void sendcommand(u_char *p, int len);
+void Abort(void);
+int recvdata(u_char *p, int len);
int F1status P__((int));
char F1newstatus P__((int, char *));
int F1howmany P__((void));
int F1fopen P__((char *));
-long F1fread P__((u_char *, int));
+long F1fread(u_char *data, long len);
+long F1fwrite(u_char *data, long len, u_char b);
long F1fseek P__((long, int));
u_long F1finfo P__((char *));
int F1fclose P__((void));
@@ -26,6 +29,4 @@ int F1fclose P__((void));
int F1deletepicture P__((int));
int F1ffs P__((void));
-long F1fwrite P__((u_char *, int, u_char ));
-
#endif /* __COMMAND_H__ */