mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
move cvsid.h into include/asterisk dir. Bug #822
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2033 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
36
cvsid.h
36
cvsid.h
@@ -1,36 +0,0 @@
|
||||
/*
|
||||
* Asterisk -- A telephony toolkit for Linux.
|
||||
*
|
||||
* CVSID Macro for including CVS file Id in source files.
|
||||
*
|
||||
* Copyright (C) 2004, William Waites
|
||||
*
|
||||
* William Waites <ww@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$");
|
||||
* #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 */
|
Reference in New Issue
Block a user