X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ffs-handle-internal.hpp;fp=src%2Fcommon%2Ffs-handle-internal.hpp;h=5d1e1340972a1828c13f1917e315b5c2ba3b3ee1;hp=08824673d3e1e93165dabe2e0aa47739eb989689;hb=e665dfbce25215d5ec77ff03a279c7163b337db1;hpb=28ab034a2c3582d07d3423d2d746731f87d3969f diff --git a/src/common/fs-handle-internal.hpp b/src/common/fs-handle-internal.hpp index 08824673d..5d1e13409 100644 --- a/src/common/fs-handle-internal.hpp +++ b/src/common/fs-handle-internal.hpp @@ -18,10 +18,10 @@ struct fs_handle; * to use an fd-tracker. */ -typedef int (*fs_handle_get_fd_cb)(struct fs_handle *); -typedef void (*fs_handle_put_fd_cb)(struct fs_handle *); -typedef int (*fs_handle_unlink_cb)(struct fs_handle *); -typedef int (*fs_handle_close_cb)(struct fs_handle *); +using fs_handle_get_fd_cb = int (*)(struct fs_handle *); +using fs_handle_put_fd_cb = void (*)(struct fs_handle *); +using fs_handle_unlink_cb = int (*)(struct fs_handle *); +using fs_handle_close_cb = int (*)(struct fs_handle *); struct fs_handle { fs_handle_get_fd_cb get_fd;