[Asterisk-cvs] asterisk cvsid.h,NONE,1.1

markster at lists.digium.com markster at lists.digium.com
Mon Jan 12 21:05:38 CST 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv22918

Added Files:
	cvsid.h 
Log Message:
Add CVS ID header


--- NEW FILE: cvsid.h ---
/*
 * Asterisk -- A telephony toolkit for Linux.
 *
 * CVSID Macro for including CVS file Id in source files.
 * 
 * Copyright (C) 2004, William Waites
 *
 * William Waites <ww at styx.org>
 *
 * This program is free software, distributed under the terms of
 * the GNU General Public License.  This file has been disclaimed
 * to Digium.
 *
 * To use, in the source file put the lines:
 *
 * #include <asterisk/cvsid.h>
 * #ifndef lint
 * CVSID("$Id: cvsid.h,v 1.1 2004/01/13 02:57:25 markster Exp $");
 * #endif /* lint */
 *
 * You will then be able to run strings(1) on the resulting
 * binary and find out what revisions of each source file were
 * used to build it.
 *
 */

#ifndef ASTERISK_CVSID_H
#define ASTERISK_CVSID_H

#ifdef __GNUC__
#define CVSID(x) static char __cvsid[] __attribute__ ((unused)) = x
#else
#define CVSID(x) static char __cvsid[] = x
#endif

#endif /* ASTERISK_CVSID_H */




More information about the svn-commits mailing list