X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Frunas.h;h=99c541f0a7090b0667279bfe015bba8bdb68b992;hb=c922647daed3dd022be11980063b5fb816d8c091;hp=ca084102e4ae8c17d424465c97016fb3c03a3698;hpb=7966af5763c4aaca39df9bbfa9277ff15715c720;p=lttng-tools.git diff --git a/src/common/runas.h b/src/common/runas.h index ca084102e..99c541f0a 100644 --- a/src/common/runas.h +++ b/src/common/runas.h @@ -2,10 +2,10 @@ #define _RUNAS_H /* - * Copyright (C) 2011 David Goulet + * Copyright (C) 2011 EfficiOS Inc. * Copyright (C) 2011 Mathieu Desnoyers * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ @@ -16,10 +16,6 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif - /* * The run-as process is launched by forking without an exec*() call. This means * that any resource allocated before the run-as worker is launched should be @@ -65,8 +61,4 @@ int run_as_create_worker(const char *procname, post_fork_cleanup_cb clean_up_func, void *clean_up_user_data); void run_as_destroy_worker(void); -#ifdef __cplusplus -} -#endif - #endif /* _RUNAS_H */