Fix a tiny thing
authorMartin Pycko <martinp@digium.com>
Fri, 12 Sep 2003 17:09:44 +0000 (17:09 +0000)
committerMartin Pycko <martinp@digium.com>
Fri, 12 Sep 2003 17:09:44 +0000 (17:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1501 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c
include/asterisk/causes.h

index 284f70f..834f9b2 100755 (executable)
@@ -500,7 +500,7 @@ static int cidrings[] = {
 #define CANPROGRESSDETECT(p) (ISTRUNK(p) || (p->sig & (SIG_EM | SIG_SF)) /* || (p->sig & __ZT_SIG_FXO) */)
 
 /* translate between PRI causes and asterisk's */
-int hangup_pri2cause(int cause)
+static int hangup_pri2cause(int cause)
 {
        switch(cause) {
 #ifdef ZAPATA_PRI
index 4705109..8513628 100755 (executable)
@@ -1,9 +1,20 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
+ * Internal Asterisk's hangup causes
+ *
+ * Copyright (C) 2003, Digium
+ *
+ * Martin Pycko <martinp@digium.com>
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License
+ */
+
+
 #define AST_CAUSE_NOTDEFINED   0
 #define AST_CAUSE_NORMAL       1
 #define AST_CAUSE_BUSY         2
 #define AST_CAUSE_FAILURE      3
 
-/* Translate the pri's cause number to asterisk's */
-int hangup_pri2cause(int cause);
-