aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-02 06:22:12 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-02 06:22:12 +0200
commit058fcaed27504aba4f2b4fcfeb93fdc50f6d7c1c (patch)
tree24d91f7a3e567e4b2168be9ad4751dc97dd53a99 /src
parentstylo (diff)
downloadlibgamma-058fcaed27504aba4f2b4fcfeb93fdc50f6d7c1c.tar.gz
libgamma-058fcaed27504aba4f2b4fcfeb93fdc50f6d7c1c.tar.bz2
libgamma-058fcaed27504aba4f2b4fcfeb93fdc50f6d7c1c.tar.xz
LIBGAMMA_ERRNO_SET should have value -1 functions returning -1 on error can be parsed as if they returned a libgamma error code
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/libgamma-error.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libgamma-error.h b/src/lib/libgamma-error.h
index 7e8dd2d..72c707d 100644
--- a/src/lib/libgamma-error.h
+++ b/src/lib/libgamma-error.h
@@ -50,16 +50,16 @@ extern const char* libgamma_group_name;
/**
- * The selected adjustment method does not exist
- * or has been excluded at compile-time.
+ * `errno` has be set with a standard error number
+ * to indicate the what has gone wrong.
*/
-#define LIBGAMMA_NO_SUCH_ADJUSTMENT_METHOD (-1)
+#define LIBGAMMA_ERRNO_SET (-1)
/**
- * `errno` has be set with a standard error number
- * to indicate the what has gone wrong.
+ * The selected adjustment method does not exist
+ * or has been excluded at compile-time.
*/
-#define LIBGAMMA_ERRNO_SET (-2)
+#define LIBGAMMA_NO_SUCH_ADJUSTMENT_METHOD (-2)
/**
* The selected site does not exist.