diff options
| author | dec05eba <dec05eba@protonmail.com> | 2026-08-02 00:17:18 +0200 |
|---|---|---|
| committer | dec05eba <dec05eba@protonmail.com> | 2026-08-02 00:17:18 +0200 |
| commit | 208c907c355689c0432966f0d9e32ffce9d55882 (patch) | |
| tree | 007cbcc22d51f63ba060ed1ffe76a99349a3042a /include/recorder/error.h | |
| parent | 06be2c8a12cd021083670d304a72f93907c8b22e (diff) | |
Fix indentation and spacing of the code moved out of main.cpp
Diffstat (limited to 'include/recorder/error.h')
| -rw-r--r-- | include/recorder/error.h | 8 |
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 */ |
