projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sprinkling the source with static and attributes.
[tinc]
/
src
/
protocol_misc.c
diff --git
a/src/protocol_misc.c
b/src/protocol_misc.c
index
36054f0
..
18155e9
100644
(file)
--- a/
src/protocol_misc.c
+++ b/
src/protocol_misc.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: protocol_misc.c,v 1.1.4.
8 2003/07/06 22:11:33
guus Exp $
+ $Id: protocol_misc.c,v 1.1.4.
9 2003/07/06 23:16:29
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-40,6
+40,18
@@
#include "system.h"
#include "system.h"
+/* Status strings */
+
+static char (*status_text[]) = {
+ "Warning",
+};
+
+/* Error strings */
+
+static char (*error_text[]) = {
+ "Error",
+};
+
/* Status and error notification routines */
int send_status(connection_t *c, int statusno, char *statusstring)
/* Status and error notification routines */
int send_status(connection_t *c, int statusno, char *statusstring)
@@
-192,15
+204,3
@@
int tcppacket_h(connection_t *c)
return 0;
}
return 0;
}
-
-/* Status strings */
-
-char (*status_text[]) = {
- "Warning",
-};
-
-/* Error strings */
-
-char (*error_text[]) = {
- "Error",
-};