X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Freadwrite.h;h=ac3668a5ae801c8461b3a0a0a0cd0413935f1c51;hb=ca806b0b247f89c62ac628a7779ae84049a8c2d7;hp=557ed0a00408b2cf15c2a696b2f75296d421e06e;hpb=83f4233dde73280d45fcfb799add96cce32098ce;p=lttng-tools.git diff --git a/src/common/readwrite.h b/src/common/readwrite.h index 557ed0a00..ac3668a5a 100644 --- a/src/common/readwrite.h +++ b/src/common/readwrite.h @@ -2,20 +2,10 @@ #define LTTNG_COMMON_READWRITE_H /* - * Copyright (C) 2013 - Mathieu Desnoyers + * Copyright (C) 2013 Mathieu Desnoyers * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License, version 2.1 only, - * as published by the Free Software Foundation. + * 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 */ #include @@ -29,9 +19,7 @@ * error occurred. * The error can be checked by querying errno. */ -LTTNG_HIDDEN ssize_t lttng_read(int fd, void *buf, size_t count); -LTTNG_HIDDEN ssize_t lttng_write(int fd, const void *buf, size_t count); #endif /* LTTNG_COMMON_READWRITE_H */