Get rid of useless "branch_add already set" warnings
[cvsps-yd/commitid.git] / cbtcommon / rcsid.h
blobb85b6fb4688b50e1b24faebfd2fff177f767bd9b
1 /*
2 * Copyright 2001, 2002, 2003 David Mansfield and Cobite, Inc.
3 * See COPYING file for license information
4 */
6 #ifndef _COMMON_RCSID_H
7 #define _COMMON_RCSID_H
9 /* RCS Id macro (complements of bod@compusol.com.au (Brendan O'Dea)) */
10 #ifdef lint
11 # define RCSID(i)
12 #else /* lint */
13 # ifdef __GNUC__
14 # define ATTRIB_UNUSED __attribute__ ((unused))
15 # else /* __GNUC__ */
16 # define ATTRIB_UNUSED
17 # endif /* __GNUC__ */
18 # define RCSID(i) static char const *rcsid ATTRIB_UNUSED = (i)
19 #endif /* lint */
21 #endif /* _COMMON_RCSID_H */