Mercurial > pidgin.yaz
diff src/protocols/zephyr/ZReadAscii.c @ 11105:64895571248f
[gaim-migrate @ 13153]
CVS keywords are making my life difficult right now. I know I could change the keyword expansion somehow, but I don't see the use for them here, so I'm taking the easy (and IMO, better long-term) approach of removing them. My apologies for the commit spam.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 14 Jul 2005 02:19:01 +0000 |
parents | 43d6c08d7e96 |
children | 26e316f9e136 |
line wrap: on
line diff
--- a/src/protocols/zephyr/ZReadAscii.c Wed Jul 13 05:49:04 2005 +0000 +++ b/src/protocols/zephyr/ZReadAscii.c Thu Jul 14 02:19:01 2005 +0000 @@ -3,37 +3,14 @@ * * Created by: Robert French * - * $Source$ - * $Author: chipx86 $ - * * Copyright (c) 1987, 1990 by the Massachusetts Institute of Technology. * For copying and distribution information, see the file * "mit-copyright.h". */ -/* $Header$ */ - -#ifndef lint -static char rcsid_ZReadAscii_c[] = "$Header$"; -#endif /* lint */ #include "internal.h" #include <assert.h> -#if 0 -static __inline__ -int -Z_cnvt_xtoi (char c) -{ - c -= '0'; - if (c < 10) - return c; - c -= 'A'-'9'-1; - if (c < 16) - return c; - return -1; -} -#endif - #define Z_cnvt_xtoi(c) ((temp=(c)-'0'),(temp<10)?temp:((temp-='A'-'9'-1),(temp<16)?temp:-1)) Code_t ZReadAscii(ptr, len, field, num)