Loading tests/libtest/chkhostname.c +3 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -21,6 +21,8 @@ ***************************************************************************/ #include "setup.h" #undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ #include "curl_gethostname.h" #define HOSTNAME_MAX 1024 Loading tests/libtest/sethostname.c +3 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,9 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ #include "setup.h" #undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ #include "sethostname.h" /* Loading tests/libtest/test.h +3 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -29,6 +29,8 @@ #include "setup.h" #undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ #include <curl/curl.h> #include <stdio.h> #include <string.h> Loading tests/libtest/testutil.c +3 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,9 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ #include "setup.h" #undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ #include "testutil.h" #include "memdebug.h" Loading tests/libtest/testutil.h +5 −5 Original line number Diff line number Diff line #ifndef __LIBTEST_TESTUTIL_H #define __LIBTEST_TESTUTIL_H #ifndef HEADER_CURL_LIBTEST_TESTUTIL_H #define HEADER_CURL_LIBTEST_TESTUTIL_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | Loading @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -21,9 +21,9 @@ * KIND, either express or implied. * ***************************************************************************/ #include "setup.h" #undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ struct timeval tutil_tvnow(void); Loading @@ -45,5 +45,5 @@ double tutil_tvdiff_secs(struct timeval t1, struct timeval t2); long tutil_tvlong(struct timeval t1); #endif /* __LIBTEST_TESTUTIL_H */ #endif /* HEADER_CURL_LIBTEST_TESTUTIL_H */ Loading
tests/libtest/chkhostname.c +3 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -21,6 +21,8 @@ ***************************************************************************/ #include "setup.h" #undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ #include "curl_gethostname.h" #define HOSTNAME_MAX 1024 Loading
tests/libtest/sethostname.c +3 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,9 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ #include "setup.h" #undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ #include "sethostname.h" /* Loading
tests/libtest/test.h +3 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -29,6 +29,8 @@ #include "setup.h" #undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ #include <curl/curl.h> #include <stdio.h> #include <string.h> Loading
tests/libtest/testutil.c +3 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,9 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ #include "setup.h" #undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ #include "testutil.h" #include "memdebug.h" Loading
tests/libtest/testutil.h +5 −5 Original line number Diff line number Diff line #ifndef __LIBTEST_TESTUTIL_H #define __LIBTEST_TESTUTIL_H #ifndef HEADER_CURL_LIBTEST_TESTUTIL_H #define HEADER_CURL_LIBTEST_TESTUTIL_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | Loading @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -21,9 +21,9 @@ * KIND, either express or implied. * ***************************************************************************/ #include "setup.h" #undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ struct timeval tutil_tvnow(void); Loading @@ -45,5 +45,5 @@ double tutil_tvdiff_secs(struct timeval t1, struct timeval t2); long tutil_tvlong(struct timeval t1); #endif /* __LIBTEST_TESTUTIL_H */ #endif /* HEADER_CURL_LIBTEST_TESTUTIL_H */