From d3d287bf676573fcbb6d6df3becfb4b3392df3db Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Mon, 4 Dec 2023 00:29:56 +0100 Subject: [PATCH] helper: nvp: minor fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix incorrect reference for original file. Fix copy-paste example. Change-Id: I1ea7909ca241611122f93ca11a4c94c97674b430 Signed-off-by: Antonio Borneo Reviewed-on: https://review.openocd.org/c/openocd/+/8037 Tested-by: jenkins Reviewed-by: Henrik Nordström --- src/helper/nvp.c | 2 +- src/helper/nvp.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/helper/nvp.c b/src/helper/nvp.c index 7a8abc2e2..a938716ae 100644 --- a/src/helper/nvp.c +++ b/src/helper/nvp.c @@ -14,7 +14,7 @@ * Copyright 2009 David Brownell * Copyright (c) 2005-2011 Jim Tcl Project. All rights reserved. * - * This file is extracted from jim_nvp.c, originally part of jim TCL code. + * This file is extracted from jim-nvp.c, originally part of jim TCL code. */ #ifdef HAVE_CONFIG_H diff --git a/src/helper/nvp.h b/src/helper/nvp.h index 14bd9b028..1f4e3d1b4 100644 --- a/src/helper/nvp.h +++ b/src/helper/nvp.h @@ -14,7 +14,7 @@ * Copyright 2009 David Brownell * Copyright (c) 2005-2011 Jim Tcl Project. All rights reserved. * - * This file is extracted from jim_nvp.h, originally part of jim TCL code. + * This file is extracted from jim-nvp.h, originally part of jim TCL code. */ #ifndef OPENOCD_HELPER_NVP_H @@ -51,7 +51,7 @@ * returns &yn[0]; * result = nvp_name2value(yn, "no"); * returns &yn[1]; - * result = jim_nvp_name2value(yn, "Blah"); + * result = nvp_name2value(yn, "Blah"); * returns &yn[4]; * \endcode *