diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-03-22 08:26:04 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-03-22 08:26:04 +0800 |
commit | c1cee898dfa33a81a585abb2ffb36fa026552fc3 (patch) | |
tree | 463ea9eb8888f196a7f0015f6fe3c10c801aff24 /src/host/osmocon/osmocon.c | |
parent | fbacd40930f557df20c9e52414bd2ebfc279084a (diff) |
misc compiler warning fixes
* added missing param in call to gsm48_rx_bcch
* added 'extern' to declarations of rsl_rlm_cause_strs and target_board
* added several 'const' for strings
* removed useless 'bufptr,' from hexdump
(From: itsme <itsme@xs4all.nl>)
Diffstat (limited to 'src/host/osmocon/osmocon.c')
-rw-r--r-- | src/host/osmocon/osmocon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/host/osmocon/osmocon.c b/src/host/osmocon/osmocon.c index 82ff0e08..f934dd77 100644 --- a/src/host/osmocon/osmocon.c +++ b/src/host/osmocon/osmocon.c @@ -665,9 +665,9 @@ extern void hdlc_tpudbg_cb(uint8_t dlci, struct msgb *msg); int main(int argc, char **argv) { int opt, flags; - char *serial_dev = "/dev/ttyUSB1"; - char *layer2_un_path = "/tmp/osmocom_l2"; - char *loader_un_path = "/tmp/osmocom_loader"; + const char *serial_dev = "/dev/ttyUSB1"; + const char *layer2_un_path = "/tmp/osmocom_l2"; + const char *loader_un_path = "/tmp/osmocom_loader"; dnload.mode = MODE_C123; |