Ignore:
Timestamp:
Jul 1, 2005, 6:20:01 AM (20 years ago)
Author:
bird
Message:

libc adjustments / config.

Location:
trunk/src/libctests/glibc/resolv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libctests/glibc/resolv/tst-leaks.c

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r2134 r2135  
    2121#include <arpa/nameser.h>
    2222#include <resolv.h>
    23 #ifdef HAVE_MCHECK_H
    2423#include <mcheck.h>
    25 #endif
    2624
    2725/* Prototype for our test function.  */
     
    3735  unsigned char buf[256];
    3836
    39 #ifdef HAVE_MCHECK_H
    4037  mtrace();
    41 #endif
    4238
    4339  /* This will allocate some memory, which should be automatically
  • trunk/src/libctests/glibc/resolv/tst-leaks2.c

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r2134 r2135  
    2020#undef gethostbyname
    2121
    22 #ifdef HAVE_MCHECK_H
    2322#include <mcheck.h>
    24 #endif
    2523#include <netdb.h>
    2624#include <resolv.h>
     
    2927do_test (void)
    3028{
    31 #ifdef HAVE_MCHECK_H
    3229  mtrace ();
    33 #endif
    3430  for (int i = 0; i < 20; ++i)
    3531    {
Note: See TracChangeset for help on using the changeset viewer.