From 287ac4c6af61d8f9f95cd3b3219c979e1329a2fe Mon Sep 17 00:00:00 2001 From: Kaleb Keithley Date: Fri, 14 Nov 2003 16:49:22 +0000 Subject: XFree86 4.3.0.1 --- alias.c | 43 +------------------------------------------ 1 file changed, 1 insertion(+), 42 deletions(-) (limited to 'alias.c') diff --git a/alias.c b/alias.c index dc51b82..3447341 100644 --- a/alias.c +++ b/alias.c @@ -24,6 +24,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ +/* $XFree86: xc/programs/xkbcomp/alias.c,v 1.5 2002/07/01 02:26:00 tsi Exp $ */ #include "xkbcomp.h" #include "misc.h" @@ -33,13 +34,7 @@ #include static void -#if NeedFunctionPrototypes HandleCollision(AliasInfo *old,AliasInfo *new) -#else -HandleCollision(old,new) - AliasInfo * old; - AliasInfo * new; -#endif { if (strncmp(new->real,old->real,XkbKeyNameLength)==0) { if (((new->def.fileID==old->def.fileID)&&(warningLevel>0))|| @@ -76,20 +71,11 @@ HandleCollision(old,new) } static void -#if NeedFunctionPrototypes InitAliasInfo( AliasInfo * info, unsigned merge, unsigned file_id, char * alias, char * real) -#else -InitAliasInfo(info,merge,file_id,alias,real) - AliasInfo * info; - unsigned merge; - unsigned file_id; - char * alias; - char * real; -#endif { bzero(info,sizeof(AliasInfo)); info->def.merge= merge; @@ -100,18 +86,10 @@ InitAliasInfo(info,merge,file_id,alias,real) } int -#if NeedFunctionPrototypes HandleAliasDef( KeyAliasDef * def, unsigned merge, unsigned file_id, AliasInfo ** info_in) -#else -HandleAliasDef(def,merge,file_id,info_in) - KeyAliasDef * def; - unsigned merge; - unsigned file_id; - AliasInfo ** info_in; -#endif { AliasInfo * info; @@ -138,12 +116,7 @@ AliasInfo * info; } void -#if NeedFunctionPrototypes ClearAliases(AliasInfo **info_in) -#else -ClearAliases(info_in) - AliasInfo ** info_in; -#endif { if ((info_in)&&(*info_in)) ClearCommonInfo(&(*info_in)->def); @@ -151,14 +124,7 @@ ClearAliases(info_in) } Bool -#if NeedFunctionPrototypes MergeAliases(AliasInfo **into,AliasInfo **merge,unsigned how_merge) -#else -MergeAliases(into,merge,how_merge) - AliasInfo ** into; - AliasInfo ** merge; - unsigned how_merge; -#endif { AliasInfo * tmp; KeyAliasDef def; @@ -184,14 +150,7 @@ KeyAliasDef def; } int -#if NeedFunctionPrototypes ApplyAliases(XkbDescPtr xkb,Bool toGeom,AliasInfo **info_in) -#else -ApplyAliases(xkb,toGeom,info_in) - XkbDescPtr xkb; - Bool toGeom; - AliasInfo ** info_in; -#endif { register int i; XkbKeyAliasPtr old,a; -- cgit v1.2.3