From eaf97cc4bd995ee99e3d4403289fce87df8fd76c Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周三, 17 9月 2014 22:03:53 +0800 Subject: [PATCH] Update comments about non-null terminated strings --- libscpi/src/units.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libscpi/src/units.c b/libscpi/src/units.c index 958b61e..ac0a0bb 100644 --- a/libscpi/src/units.c +++ b/libscpi/src/units.c @@ -37,7 +37,7 @@ #include <string.h> #include "scpi/parser.h" #include "scpi/units.h" -#include "utils.h" +#include "scpi/utils_private.h" #include "scpi/error.h" @@ -109,7 +109,7 @@ {/* name */ "UP", /* type */ SCPI_NUM_UP}, {/* name */ "DOWN", /* type */ SCPI_NUM_DOWN}, {/* name */ "NAN", /* type */ SCPI_NUM_NAN}, - {/* name */ "INF", /* type */ SCPI_NUM_INF}, + {/* name */ "INFinity", /* type */ SCPI_NUM_INF}, {/* name */ "NINF", /* type */ SCPI_NUM_NINF}, SCPI_SPECIAL_NUMBERS_LIST_END, }; -- Gitblit v1.9.1