X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ffs-handle-internal.hpp;h=5d1e1340972a1828c13f1917e315b5c2ba3b3ee1;hb=f053e8372b4870e88b9eacf63a69c32c0c878aea;hp=08824673d3e1e93165dabe2e0aa47739eb989689;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f;p=lttng-tools.git 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;