~jsvoboda/helenos/dnsr

« back to all changes in this revision

Viewing changes to uspace/lib/c/generic/dlfcn.c

  • Committer: Jiri Svoboda
  • Date: 2012-11-11 21:31:03 UTC
  • mfrom: (1527.1.178 mainline)
  • Revision ID: jiri@wiwaxia-20121111213103-314bmkettwvlwj97
MergeĀ mainlineĀ changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
#include <stdlib.h>
39
39
#include <dlfcn.h>
40
40
 
 
41
#ifdef CONFIG_RTLD
 
42
 
41
43
#include <rtld/module.h>
42
44
#include <rtld/symbol.h>
43
45
 
86
88
        return NULL;
87
89
}
88
90
 
 
91
#else /* CONFIG_RTLD not defined */
 
92
 
 
93
void *dlopen(const char *path, int flag)
 
94
{
 
95
        return NULL;
 
96
}
 
97
 
 
98
void *dlsym(void *mod, const char *sym_name)
 
99
{
 
100
        return NULL;
 
101
}
 
102
 
 
103
#endif
 
104
 
89
105
/** @}
90
106
 */