summaryrefslogtreecommitdiff
path: root/src/ArgList.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ArgList.c')
-rw-r--r--src/ArgList.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/ArgList.c b/src/ArgList.c
index a88341c..6fdabf8 100644
--- a/src/ArgList.c
+++ b/src/ArgList.c
@@ -22,7 +22,6 @@ Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
-
Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
All Rights Reserved
@@ -48,28 +47,28 @@ SOFTWARE.
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include "IntrinsicI.h"
-#include <stdio.h>
+#include "IntrinsicI.h"
+#include <stdio.h>
/*
* This routine merges two arglists. It does NOT check for duplicate entries.
*/
-ArgList XtMergeArgLists(
- ArgList args1,
- Cardinal num_args1,
- ArgList args2,
- Cardinal num_args2)
+ArgList
+XtMergeArgLists(ArgList args1,
+ Cardinal num_args1,
+ ArgList args2,
+ Cardinal num_args2)
{
ArgList result, args;
result = (ArgList) __XtCalloc((unsigned) num_args1 + num_args2,
- (unsigned) sizeof(Arg));
+ (unsigned) sizeof(Arg));
for (args = result; num_args1 != 0; num_args1--)
- *args++ = *args1++;
- for ( ; num_args2 != 0; num_args2--)
- *args++ = *args2++;
+ *args++ = *args1++;
+ for (; num_args2 != 0; num_args2--)
+ *args++ = *args2++;
return result;
}