From: Michael Jeanson Date: Thu, 4 Mar 2021 15:47:44 +0000 (-0500) Subject: Make 'lttng/ust-error.h' official API X-Git-Tag: v2.13.0-rc1~333 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=828e8379a6719ccc36f343fe4e772af6043a303f;p=lttng-ust.git Make 'lttng/ust-error.h' official API Change-Id: I94a96a08438b915980d47042202869253811e410 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-error.h b/include/lttng/ust-error.h index 2ffdb8b5..de7e665f 100644 --- a/include/lttng/ust-error.h +++ b/include/lttng/ust-error.h @@ -6,11 +6,6 @@ * Copyright (C) 2011 Mathieu Desnoyers */ -/* - * This header is meant for liblttng and libust internal use ONLY. - * These declarations should NOT be considered stable API. - */ - #ifndef _LTTNG_UST_ERROR_H #define _LTTNG_UST_ERROR_H @@ -49,7 +44,7 @@ enum lttng_ust_error_code { * Return a human-readable error message for an lttng-ust error code. * code must be a positive value (or 0). */ -extern const char *lttng_ust_strerror(int code); +const char *lttng_ust_strerror(int code); #ifdef __cplusplus }