Use intra-DSO calls when we build libbusybox. No-op for normal build.
[oweals/busybox.git] / coreutils / libcoreutils / coreutils.h
1 /* vi: set sw=4 ts=4: */
2 /*
3  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
4  */
5
6 #ifndef COREUTILS_H
7 #define COREUTILS_H             1
8
9 #if __GNUC_PREREQ(4,1)
10 # pragma GCC visibility push(hidden)
11 #endif
12
13 typedef int (*stat_func)(const char *fn, struct stat *ps);
14
15 int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf);
16 int cp_mv_stat(const char *fn, struct stat *fn_stat);
17
18 mode_t getopt_mk_fifo_nod(char **argv);
19
20 #if __GNUC_PREREQ(4,1)
21 # pragma GCC visibility pop
22 #endif
23
24 #endif