diff options
author | Adrian Kummerlaender | 2015-11-30 12:07:33 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2015-11-30 12:07:33 +0100 |
commit | 30d28c558015afe22822647cc3943e2afb14afde (patch) | |
tree | a65bc59f97810652197d75349c23b067bcceb90f /src/io.h | |
parent | 62b2be7fbedc13ed40ed8f1327dded532b90ad55 (diff) | |
download | change-30d28c558015afe22822647cc3943e2afb14afde.tar change-30d28c558015afe22822647cc3943e2afb14afde.tar.gz change-30d28c558015afe22822647cc3943e2afb14afde.tar.bz2 change-30d28c558015afe22822647cc3943e2afb14afde.tar.lz change-30d28c558015afe22822647cc3943e2afb14afde.tar.xz change-30d28c558015afe22822647cc3943e2afb14afde.tar.zst change-30d28c558015afe22822647cc3943e2afb14afde.zip |
Extract actual function acquisition
The pointers to the actual function implementations are now fetched inside the `actual` namespace declared in the `actual_function.h` header.
Fixed source of _noreturn_ related warning during compilation by adding the appropriate flag. Sadly this means that we can not use `std::function` in this context as it doesn't seem to carry these _c-like_ flags.
Diffstat (limited to 'src/io.h')
-rw-r--r-- | src/io.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ -#ifndef CHANGE_IO_H_ -#define CHANGE_IO_H_ +#ifndef CHANGE_SRC_IO_H_ +#define CHANGE_SRC_IO_H_ #include <unistd.h> #include <dlfcn.h> @@ -58,4 +58,4 @@ bool is_regular_file(int fd) { } -#endif // CHANGE_IO_H_ +#endif // CHANGE_SRC_IO_H_ |