summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/generic/disp_major_status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/gssapi/generic/disp_major_status.c')
-rw-r--r--src/lib/gssapi/generic/disp_major_status.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/lib/gssapi/generic/disp_major_status.c b/src/lib/gssapi/generic/disp_major_status.c
index f9ff28147..5098e3abd 100644
--- a/src/lib/gssapi/generic/disp_major_status.c
+++ b/src/lib/gssapi/generic/disp_major_status.c
@@ -1,4 +1,4 @@
-/* -*- mode: c; indent-tabs-mode: nil -*- */
+/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 1993 by OpenVision Technologies, Inc.
*
@@ -32,9 +32,9 @@
/* This code has knowledge of the min and max errors of each type
within the gssapi major status */
-#define GSS_ERROR_STR(value, array, select, min, max, num) \
- (((select(value) < (min)) || (select(value) > (max))) ? NULL : \
- (array)[num(value)])
+#define GSS_ERROR_STR(value, array, select, min, max, num) \
+ (((select(value) < (min)) || (select(value) > (max))) ? NULL : \
+ (array)[num(value)])
/**/
@@ -47,10 +47,10 @@ static const char * const calling_error_string[] = {
static const char * const calling_error = "calling error";
-#define GSS_CALLING_ERROR_STR(x) \
- GSS_ERROR_STR((x), calling_error_string, GSS_CALLING_ERROR, \
- GSS_S_CALL_INACCESSIBLE_READ, GSS_S_CALL_BAD_STRUCTURE, \
- GSS_CALLING_ERROR_FIELD)
+#define GSS_CALLING_ERROR_STR(x) \
+ GSS_ERROR_STR((x), calling_error_string, GSS_CALLING_ERROR, \
+ GSS_S_CALL_INACCESSIBLE_READ, GSS_S_CALL_BAD_STRUCTURE, \
+ GSS_CALLING_ERROR_FIELD)
/**/
@@ -76,10 +76,10 @@ static const char * const routine_error_string[] = {
static const char * const routine_error = "routine error";
-#define GSS_ROUTINE_ERROR_STR(x) \
- GSS_ERROR_STR((x), routine_error_string, GSS_ROUTINE_ERROR, \
- GSS_S_BAD_MECH, GSS_S_FAILURE, \
- GSS_ROUTINE_ERROR_FIELD)
+#define GSS_ROUTINE_ERROR_STR(x) \
+ GSS_ERROR_STR((x), routine_error_string, GSS_ROUTINE_ERROR, \
+ GSS_S_BAD_MECH, GSS_S_FAILURE, \
+ GSS_ROUTINE_ERROR_FIELD)
/**/
@@ -97,9 +97,9 @@ static const char * const sinfo_code = "supplementary info code";
#define LSBGET(x) ((((x)^((x)-1))+1)>>1)
#define LSBMASK(n) ((1<<(n))^((1<<(n))-1))
-#define GSS_SINFO_STR(x) \
- ((((1<<(x)) < GSS_S_CONTINUE_NEEDED) || ((1<<(x)) > GSS_S_UNSEQ_TOKEN)) ? \
- /**/NULL:sinfo_string[(x)])
+#define GSS_SINFO_STR(x) \
+ ((((1<<(x)) < GSS_S_CONTINUE_NEEDED) || ((1<<(x)) > GSS_S_UNSEQ_TOKEN)) ? \
+ /**/NULL:sinfo_string[(x)])
/**/