aboutsummaryrefslogtreecommitdiff
path: root/src/io.h
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-11-30 12:07:33 +0100
committerAdrian Kummerlaender2015-11-30 12:07:33 +0100
commit30d28c558015afe22822647cc3943e2afb14afde (patch)
treea65bc59f97810652197d75349c23b067bcceb90f /src/io.h
parent62b2be7fbedc13ed40ed8f1327dded532b90ad55 (diff)
downloadchange-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/io.h b/src/io.h
index c36a5b0..676ebac 100644
--- a/src/io.h
+++ b/src/io.h
@@ -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_