X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ffs-handle.h;h=1627f7cfeb122197e346aed58bc7508bd140c899;hp=6f9bad1e731dba5596b1a91e540d1ef541b6541d;hb=28b3dc1e1eca004cae6023b8e491835ecdfdd041;hpb=8bb66c3cd60938352927ee865759433387324250 diff --git a/src/common/fs-handle.h b/src/common/fs-handle.h index 6f9bad1e7..1627f7cfe 100644 --- a/src/common/fs-handle.h +++ b/src/common/fs-handle.h @@ -1,18 +1,8 @@ /* - * Copyright (C) 2020 - Jérémie Galarneau + * Copyright (C) 2020 Jérémie Galarneau * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by the - * Free Software Foundation; version 2.1 of the License. + * SPDX-License-Identifier: LGPL-2.1-only * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this library; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef FS_HANDLE_H @@ -79,6 +69,6 @@ LTTNG_HIDDEN int fs_handle_truncate(struct fs_handle *handle, off_t offset); LTTNG_HIDDEN -int fs_handle_seek(struct fs_handle *handle, off_t offset, int whence); +off_t fs_handle_seek(struct fs_handle *handle, off_t offset, int whence); #endif /* FS_HANDLE_H */