libpurple/protocols/zephyr/zephyr_err.c

changeset 39829
ce056c64e426
parent 15435
4b933b06d75e
--- a/libpurple/protocols/zephyr/zephyr_err.c	Mon Sep 16 19:37:11 2019 -0400
+++ b/libpurple/protocols/zephyr/zephyr_err.c	Mon Sep 16 19:50:39 2019 -0400
@@ -1,12 +1,5 @@
 #include "zephyr_err.h"
 
-#ifdef __STDC__
-#define NOARGS void
-#else
-#define NOARGS
-#define const
-#endif
-
 static const char * const text[] = {
 	"Packet too long or buffer too small",
 	"Notice header too large",
@@ -49,7 +42,9 @@
 
 static struct et_list link = { 0, 0 };
 
-void initialize_zeph_error_table (NOARGS) {
+void
+initialize_zeph_error_table(void)
+{
     if (!link.table) {
         link.next = _et_list;
         link.table = &et;

mercurial