Make 'lttng/ust-error.h' official API
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 4 Mar 2021 15:47:44 +0000 (10:47 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 9 Mar 2021 19:36:23 +0000 (14:36 -0500)
Change-Id: I94a96a08438b915980d47042202869253811e410
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-error.h

index 2ffdb8b5fd892d09bb0d179e352abacefc044f6a..de7e665f27655b5563f6d992503d3fafb92845b9 100644 (file)
@@ -6,11 +6,6 @@
  * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  */
 
-/*
- * 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
 }
This page took 0.027696 seconds and 4 git commands to generate.