From 828e8379a6719ccc36f343fe4e772af6043a303f Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 4 Mar 2021 10:47:44 -0500 Subject: [PATCH] Make 'lttng/ust-error.h' official API Change-Id: I94a96a08438b915980d47042202869253811e410 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- include/lttng/ust-error.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 } -- 2.34.1