svn rev #24968: trunk/src/lib/gssapi/generic/
ghudson@MIT.EDU
ghudson at MIT.EDU
Mon Jun 13 17:44:51 EDT 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=24968
Commit By: ghudson
Log Message:
ANSIfy the remaining K&R functions in lib/gssapi/generic.
Changed Files:
U trunk/src/lib/gssapi/generic/disp_com_err_status.c
U trunk/src/lib/gssapi/generic/disp_major_status.c
Modified: trunk/src/lib/gssapi/generic/disp_com_err_status.c
===================================================================
--- trunk/src/lib/gssapi/generic/disp_com_err_status.c 2011-06-13 18:54:33 UTC (rev 24967)
+++ trunk/src/lib/gssapi/generic/disp_com_err_status.c 2011-06-13 21:44:51 UTC (rev 24968)
@@ -45,10 +45,8 @@
*/
OM_uint32
-g_display_com_err_status(minor_status, status_value, status_string)
- OM_uint32 *minor_status;
- OM_uint32 status_value;
- gss_buffer_t status_string;
+g_display_com_err_status(OM_uint32 *minor_status, OM_uint32 status_value,
+ gss_buffer_t status_string)
{
status_string->length = 0;
status_string->value = NULL;
Modified: trunk/src/lib/gssapi/generic/disp_major_status.c
===================================================================
--- trunk/src/lib/gssapi/generic/disp_major_status.c 2011-06-13 18:54:33 UTC (rev 24967)
+++ trunk/src/lib/gssapi/generic/disp_major_status.c 2011-06-13 21:44:51 UTC (rev 24968)
@@ -109,10 +109,7 @@
/**/
static int
-display_unknown(kind, value, buffer)
- const char *kind;
- OM_uint32 value;
- gss_buffer_t buffer;
+display_unknown(const char *kind, OM_uint32 value, gss_buffer_t buffer)
{
char *str;
@@ -127,10 +124,9 @@
/* code should be set to the calling error field */
-static OM_uint32 display_calling(minor_status, code, status_string)
- OM_uint32 *minor_status;
- OM_uint32 code;
- gss_buffer_t status_string;
+static OM_uint32
+display_calling(OM_uint32 *minor_status, OM_uint32 code,
+ gss_buffer_t status_string)
{
const char *str;
@@ -152,10 +148,9 @@
/* code should be set to the routine error field */
-static OM_uint32 display_routine(minor_status, code, status_string)
- OM_uint32 *minor_status;
- OM_uint32 code;
- gss_buffer_t status_string;
+static OM_uint32
+display_routine(OM_uint32 *minor_status, OM_uint32 code,
+ gss_buffer_t status_string)
{
const char *str;
@@ -177,10 +172,9 @@
/* code should be set to the bit offset (log_2) of a supplementary info bit */
-static OM_uint32 display_bit(minor_status, code, status_string)
- OM_uint32 *minor_status;
- OM_uint32 code;
- gss_buffer_t status_string;
+static OM_uint32
+display_bit(OM_uint32 *minor_status, OM_uint32 code,
+ gss_buffer_t status_string)
{
const char *str;
@@ -208,12 +202,9 @@
message_context > 2 : print supplementary info bit (message_context-2)
*/
-OM_uint32 g_display_major_status(minor_status, status_value,
- message_context, status_string)
- OM_uint32 *minor_status;
- OM_uint32 status_value;
- OM_uint32 *message_context;
- gss_buffer_t status_string;
+OM_uint32
+g_display_major_status(OM_uint32 *minor_status, OM_uint32 status_value,
+ OM_uint32 *message_context, gss_buffer_t status_string)
{
OM_uint32 ret, tmp;
int bit;
More information about the cvs-krb5
mailing list