summaryrefslogtreecommitdiffstats
path: root/src/include/string.h
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2014-01-07 09:30:51 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-01-10 16:19:14 -0600
commitaa83ebd12d6cf6d6ead06e45ab61d46a53a15be3 (patch)
treed6a587a8582ac9d085b08e028c757a0ea94bb825 /src/include/string.h
parentea2a49ff0cd3827458025f75d5b6bd7054d18779 (diff)
downloadtalos-hostboot-aa83ebd12d6cf6d6ead06e45ab61d46a53a15be3.tar.gz
talos-hostboot-aa83ebd12d6cf6d6ead06e45ab61d46a53a15be3.zip
Remove leftover fixme/todo and update error callouts
Remove all untagged fixme/todo comments Adde new parm to error log constructor to avoid extra code in common software error case Update error callouts Add strncpy Change-Id: I8bd8f48193a96b79db91ed35c4fd485e6da38dba RTC: 67921 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7921 Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/string.h')
-rwxr-xr-xsrc/include/string.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/string.h b/src/include/string.h
index 8fa88044f..24ac40cc4 100755
--- a/src/include/string.h
+++ b/src/include/string.h
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2010,2013 */
+/* COPYRIGHT International Business Machines Corp. 2010,2014 */
/* */
/* p1 */
/* */
@@ -38,6 +38,7 @@ extern "C"
const void *needle, size_t needlelen) __attribute__((pure));
char* strcpy(char* d, const char* s);
+ char* strncpy(char* d, const char* s, size_t l);
int strcmp(const char* s1, const char* s2) __attribute__((pure));
size_t strlen(const char* s1) __attribute__((pure));
size_t strnlen(const char* s1, size_t n) __attribute__((pure));
OpenPOWER on IntegriCloud