summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/dl07/dl-load.h
blob: 72872917aa4048a34cb7513d6f18e91a9b475d30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2014, 2018 Chris Johns <chrisj@rtems.org>.  All rights reserved.
 *
 * The license and distribution terms for this file may be
 * found in the file LICENSE in this distribution or at
 * http://www.rtems.org/license/LICENSE.
 */

#include <string.h>

#if !defined(_DL_LOAD_H_)
#define _DL_LOAD_H_

static inline const char* dl_localise_file (const char* file)
{
  return (const char*) strstr (file, "testsuites");
}

int dl_load_test(void);

#endif