~linaro-toolchain-dev/cortex-strings/trunk

« back to all changes in this revision

Viewing changes to tests/test-string.h

  • Committer: Michael Hope
  • Date: 2011-08-30 03:54:21 UTC
  • Revision ID: michael.hope@linaro.org-20110830035421-vb2ijg1k9oyuwgs3
Added tests for memchr and strchr from GLIBC.  Added a note on the routines and where they come from.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
#include <stdio.h>
43
43
#include <stdlib.h>
44
44
#include <string.h>
 
45
#include <stdint.h>
45
46
#include <sys/mman.h>
46
47
#include <unistd.h>
47
48
#include <fcntl.h>
50
51
#include <time.h>
51
52
#define GL(x) _##x
52
53
#define GLRO(x) _##x
53
 
#include <hp-timing.h>
 
54
#include "hp-timing.h"
54
55
 
55
56
 
56
57
# define TEST_FUNCTION test_main ()