瀏覽代碼

Fix stpcpy function declaration

Eric Andersen 22 年之前
父節點
當前提交
8a3b89cb24
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      include/string.h

+ 0 - 2
include/string.h

@@ -311,13 +311,11 @@ extern int strverscmp (__const char *__s1, __const char *__s2)
 /* Return a string describing the meaning of the signal number in SIG.  */
 extern char *strsignal (int __sig) __THROW;
 
-#if 0
 /* Copy SRC to DEST, returning the address of the terminating '\0' in DEST.  */
 extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src)
      __THROW;
 extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
      __THROW;
-#endif
 
 /* Copy no more than N characters of SRC to DEST, returning the address of
    the last character written into DEST.  */