]> pd.if.org Git - pdclib/blobdiff - functions/string/strlcpy.c
Comment reformatting for consistency.
[pdclib] / functions / string / strlcpy.c
index 73b9165dad1199fa3734073f897ca3583ed8afc7..6739f85854135ede3a4d91cc911d45a9ee85294e 100644 (file)
@@ -1,7 +1,4 @@
-/* strlcpy(
-   char *_PDCLIB_restrict _Dst,
-   const char *_PDCLIB_restrict _Src,
-   size_t _DstSize)
+/* strlcpy( char *, const char *, size_t )
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
@@ -41,7 +38,9 @@ size_t _PDCLIB_strlcpy(
 
 int main( void )
 {
+#ifndef REGTEST
     char destbuf[10];
+#endif
     TESTCASE_NOREG( strlcpy(NULL, "a", 0) == 2 );
     TESTCASE_NOREG( strlcpy(destbuf, "a", 10) == 2 );
     TESTCASE_NOREG( strcmp(destbuf, "a") == 0 );