aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-02 12:39:10 +0000
committerYang Tse <yangsita@gmail.com>2010-02-02 12:39:10 +0000
commit232d17ec6486c79c2daa6a8f613d2e3fd94ae2fc (patch)
tree99402b1dd1f8fd7bda4a509f6862adbb7f12002b
parentbafba6946cae049b066d48b473d8ab8b9bd0cb33 (diff)
avoid possibility of using obsoleted stuff
-rw-r--r--tests/libtest/test.h2
-rw-r--r--tests/server/getpart.c4
-rw-r--r--tests/server/resolve.c5
-rw-r--r--tests/server/rtspd.c2
-rw-r--r--tests/server/sockfilt.c4
-rw-r--r--tests/server/sws.c3
-rw-r--r--tests/server/testpart.c4
-rw-r--r--tests/server/tftpd.c2
-rw-r--r--tests/server/util.c5
9 files changed, 26 insertions, 5 deletions
diff --git a/tests/libtest/test.h b/tests/libtest/test.h
index 66416b42a..202ca7ba4 100644
--- a/tests/libtest/test.h
+++ b/tests/libtest/test.h
@@ -13,6 +13,8 @@
need both of them in the include path), so that we get good in-depth
knowledge about the system we're building this on */
+#define CURL_NO_OLDIES
+
#include "setup.h"
#include <curl/curl.h>
diff --git a/tests/server/getpart.c b/tests/server/getpart.c
index d946e0f7b..59cb4ab4c 100644
--- a/tests/server/getpart.c
+++ b/tests/server/getpart.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, 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
@@ -21,6 +21,8 @@
* $Id$
***************************************************************************/
+#define CURL_NO_OLDIES
+
#include "setup.h"
#include "getpart.h"
diff --git a/tests/server/resolve.c b/tests/server/resolve.c
index 9096f47c2..3092b8cbc 100644
--- a/tests/server/resolve.c
+++ b/tests/server/resolve.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, 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
@@ -30,6 +30,9 @@
* Like if 'localhost' actual exists etc.
*
*/
+
+#define CURL_NO_OLDIES
+
#include "setup.h" /* portability help from the lib directory */
#ifdef HAVE_SIGNAL_H
diff --git a/tests/server/rtspd.c b/tests/server/rtspd.c
index 273fddb61..6c3366bb4 100644
--- a/tests/server/rtspd.c
+++ b/tests/server/rtspd.c
@@ -27,6 +27,8 @@
* This source file was started based on curl's HTTP test suite server.
*/
+#define CURL_NO_OLDIES
+
#include "setup.h" /* portability help from the lib directory */
#ifdef HAVE_SIGNAL_H
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index 7964ce929..15993a5ab 100644
--- a/tests/server/sockfilt.c
+++ b/tests/server/sockfilt.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, 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
@@ -80,6 +80,8 @@
* if no signal was being ignored or handled at all. Enjoy it!
*/
+#define CURL_NO_OLDIES
+
#include "setup.h" /* portability help from the lib directory */
#ifdef HAVE_SIGNAL_H
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 9b6d9da9a..62721b1bc 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -27,6 +27,9 @@
Wilke. Thanks a bunch!
*/
+
+#define CURL_NO_OLDIES
+
#include "setup.h" /* portability help from the lib directory */
#ifdef HAVE_SIGNAL_H
diff --git a/tests/server/testpart.c b/tests/server/testpart.c
index df0d1aa8f..d2be529de 100644
--- a/tests/server/testpart.c
+++ b/tests/server/testpart.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, 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
@@ -21,6 +21,8 @@
* $Id$
***************************************************************************/
+#define CURL_NO_OLDIES
+
#include "setup.h"
#include "getpart.h"
diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c
index cf0979254..eefeb3ea4 100644
--- a/tests/server/tftpd.c
+++ b/tests/server/tftpd.c
@@ -48,6 +48,8 @@
* SUCH DAMAGE.
*/
+#define CURL_NO_OLDIES
+
#include "setup.h" /* portability help from the lib directory */
#ifdef HAVE_SYS_IOCTL_H
diff --git a/tests/server/util.c b/tests/server/util.c
index 9db735d4c..e8d20ebbd 100644
--- a/tests/server/util.c
+++ b/tests/server/util.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, 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
@@ -20,6 +20,9 @@
*
* $Id$
***************************************************************************/
+
+#define CURL_NO_OLDIES
+
#include "setup.h" /* portability help from the lib directory */
#ifdef HAVE_SIGNAL_H