diff options
author | Jim Meyering <meyering@redhat.com> | 2009-04-30 08:34:07 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-04-30 08:38:08 +0200 |
commit | 38cb8d817746890c75e3d7938c4dd0874b29b5fd (patch) | |
tree | 6d0de5ce61300d63aa8a587e26a48284f1a0849e | |
parent | 791b71090adeca8ccfb968465815a23e4863626f (diff) | |
download | idutils-38cb8d817746890c75e3d7938c4dd0874b29b5fd.tar.gz idutils-38cb8d817746890c75e3d7938c4dd0874b29b5fd.tar.bz2 idutils-38cb8d817746890c75e3d7938c4dd0874b29b5fd.zip |
build: remove unused macros
* libidu/idread.c (TOK_COUNT_ADDR): Remove unused macro.
(TOK_HITS_ADDR): Likewise.
-rw-r--r-- | libidu/idread.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libidu/idread.c b/libidu/idread.c index 28f5fda..3116a1a 100644 --- a/libidu/idread.c +++ b/libidu/idread.c @@ -1,5 +1,5 @@ /* idread.c -- functions to read ID database files - Copyright (C) 1995, 1996, 1999, 2007-2008 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1999, 2007-2009 Free Software Foundation, Inc. Written by Greg McGary <gkm@gnu.ai.mit.edu> This program is free software; you can redistribute it and/or modify @@ -207,9 +207,6 @@ token_flags (char const *buf) return *(unsigned char const *)&buf[strlen (buf) + 1]; } -#define TOK_COUNT_ADDR(buf) ((unsigned char const *)(TOK_FLAGS_ADDR (buf) + 1)) -#define TOK_HITS_ADDR(buf) ((unsigned char const *)(TOK_COUNT_ADDR (buf) + 2)) - unsigned short token_count (char const *buf) { |