carlu: fix conflicting function declaration types
authorChristian Lamparter <chunkeey@googlemail.com>
Thu, 13 Jan 2011 12:09:05 +0000 (13:09 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Thu, 13 Jan 2011 12:09:05 +0000 (13:09 +0100)
rx.c:52: error: conflicting types for ‘carlu_handle_command’
carlu.h:143: note: previous declaration of ‘carlu_handle_command’ was here

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
tools/carlu/src/carlu.h

index 8849a8bfe3a680eff1481f10afde4026a6664186..96219f5897aa2e613e404fb22dba1a07e95ddfec 100644 (file)
@@ -140,7 +140,7 @@ void carlu_rx(struct carlu *ar, struct frame *frame);
 int carlu_tx(struct carlu *ar, struct frame *frame);
 void carlu_tx_feedback(struct carlu *ar,
                          struct carl9170_rsp *cmd);
-void carlu_handle_command(struct carlu *ar, void *buf, size_t len);
+void carlu_handle_command(struct carlu *ar, void *buf, unsigned int len);
 
 struct frame *carlu_alloc_frame(struct carlu *ar, unsigned int size);
 void carlu_free_frame(struct carlu *ar, struct frame *frame);