diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-07 19:47:08 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-07 19:47:08 -0400 |
commit | 1737661309d55aa33e668142cf3301a8e94ff44d (patch) | |
tree | c88cb8b4fa0b0ad41d2dc407cf4492b8695741fc | |
parent | 9f81c761344b764b7f9950b7f7a2f57fb8465c12 (diff) | |
download | xorg-lib-libXt-1737661309d55aa33e668142cf3301a8e94ff44d.tar.gz |
indent'd like "x-indent.sh", but with a more complete set of typedefs - see
https://github.com/ThomasDickey/cindent-snapshots/blob/master/scripts/xxx-profile
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r-- | src/ArgList.c | 23 |
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; } |