~ubuntu-branches/ubuntu/karmic/valgrind/karmic

« back to all changes in this revision

Viewing changes to none/tests/mremap.c

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2008-01-06 11:28:10 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080106112810-segj25s87z9zd7i5
Tags: 1:3.3.0-1ubuntu1
* Merge with Debian, remaining changes:
 - Add 91_build_with_fno_stack_protector.dpatch
 - Add lpia to Architecture

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#include <stdio.h>
4
4
#include <stdlib.h>
5
5
 
 
6
#if defined(_AIX)
 
7
 
 
8
int main ( void )
 
9
{
 
10
  printf("This test is Linux-specific.\n");
 
11
  return 0;
 
12
}
 
13
 
 
14
#else
 
15
 
6
16
static char *mkmap(unsigned sz)
7
17
{
8
18
        static char *map;
96
106
 
97
107
        return 0;
98
108
}
 
109
 
 
110
#endif /* defined(_AIX) */