aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/recorder/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/recorder/error.h')
-rw-r--r--include/recorder/error.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/recorder/error.h b/include/recorder/error.h
index cfa83cd..ba2ae1d 100644
--- a/include/recorder/error.h
+++ b/include/recorder/error.h
@@ -1,10 +1,6 @@
#ifndef GSR_RECORDER_ERROR_H
#define GSR_RECORDER_ERROR_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* The negated value of each error is the exit code that gpu-screen-recorder exits with */
typedef enum {
GSR_ERROR_OK = 0,
@@ -24,8 +20,4 @@ static inline int gsr_error_to_exit_code(int error) {
return error < 0 ? -error : 0;
}
-#ifdef __cplusplus
-}
-#endif
-
#endif /* GSR_RECORDER_ERROR_H */