Sprinkling the source with static and attributes.
[tinc] / src / protocol_misc.c
index 36054f0..18155e9 100644 (file)
@@ -17,7 +17,7 @@
     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 "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)
@@ -192,15 +204,3 @@ int tcppacket_h(connection_t *c)
 
        return 0;
 }
-
-/* Status strings */
-
-char (*status_text[]) = {
-       "Warning",
-};
-
-/* Error strings */
-
-char (*error_text[]) = {
-       "Error",
-};