X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Fbinarybuffer.c;h=fdfcf715bc5dda0c3569047b3bb05c5f60808c28;hp=86892c7ffee1508eac869d8530adedf1a0b4a0d4;hb=bc07ee82fbeb05a93f91d077d0628d4e369c5aeb;hpb=dc575dc5bf8cb597a0e9a47794744ae6b1928087 diff --git a/src/helper/binarybuffer.c b/src/helper/binarybuffer.c index 86892c7ffe..fdfcf715bc 100644 --- a/src/helper/binarybuffer.c +++ b/src/helper/binarybuffer.c @@ -2,7 +2,7 @@ * Copyright (C) 2004, 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * - * Copyright (C) 2007,2008 Øyvind Harboe * + * Copyright (C) 2007,2008 Øyvind Harboe * * oyvind.harboe@zylin.com * * * * This program is free software; you can redistribute it and/or modify * @@ -327,12 +327,3 @@ int str_to_buf(const char *str, int str_len, uint8_t *buf, int buf_len, int radi return i; } - -int buf_to_u32_handler(uint8_t *in_buf, void *priv, struct scan_field_s *field) -{ - uint32_t *dest = priv; - - *dest = buf_get_u32(in_buf, 0, 32); - - return ERROR_OK; -}