aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp_clock/octoclock/kk_ihex_read.h
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2015-08-19 11:13:20 -0700
committerMartin Braun <martin.braun@ettus.com>2015-09-01 13:23:19 -0700
commit0ce526f302de68ece342545b4533aab699336028 (patch)
tree5d61c92a78ddb09225930701d53239c163a21e6b /host/lib/usrp_clock/octoclock/kk_ihex_read.h
parent4cfa04f771649245148b7c993d52fdd34225b08e (diff)
downloaduhd-0ce526f302de68ece342545b4533aab699336028.tar.gz
uhd-0ce526f302de68ece342545b4533aab699336028.tar.bz2
uhd-0ce526f302de68ece342545b4533aab699336028.zip
Fixed minor warnings
* Unreferenced exceptions in try-catch statements * Incorrect function documentation * Unlabelled unused variables
Diffstat (limited to 'host/lib/usrp_clock/octoclock/kk_ihex_read.h')
-rw-r--r--host/lib/usrp_clock/octoclock/kk_ihex_read.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp_clock/octoclock/kk_ihex_read.h b/host/lib/usrp_clock/octoclock/kk_ihex_read.h
index 5e210fddb..303622b18 100644
--- a/host/lib/usrp_clock/octoclock/kk_ihex_read.h
+++ b/host/lib/usrp_clock/octoclock/kk_ihex_read.h
@@ -54,11 +54,11 @@ void ihex_begin_read(struct ihex_state * const ihex);
// Begin reading at `address` (the lowest 16 bits of which will be ignored);
// this is required only if the high bytes of the 32-bit starting address
// are not specified in the input data and they are non-zero
-void ihex_read_at_address(struct ihex_state *ihex,
+void ihex_read_at_address(struct ihex_state * const ihex,
ihex_address_t address);
// Read a single character
-void ihex_read_byte(struct ihex_state *ihex, char chr, FILE* outfile);
+void ihex_read_byte(struct ihex_state * const ihex, const char byte, FILE* outfile);
// Read `count` bytes from `data`
void ihex_read_bytes(struct ihex_state * ihex,
@@ -67,7 +67,7 @@ void ihex_read_bytes(struct ihex_state * ihex,
FILE* outfile);
// End reading (may call `ihex_data_read` if there is data waiting)
-void ihex_end_read(struct ihex_state *ihex, FILE* outfile);
+void ihex_end_read(struct ihex_state * const ihex, FILE* outfile);
// Called when a complete line has been read, the record type of which is
// passed as `type`. The `ihex` structure will have its fields `data`,