aboutsummaryrefslogtreecommitdiff
path: root/include/pdp_post.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pdp_post.h')
-rw-r--r--include/pdp_post.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/include/pdp_post.h b/include/pdp_post.h
index 05b5143..1054388 100644
--- a/include/pdp_post.h
+++ b/include/pdp_post.h
@@ -22,8 +22,22 @@
#ifndef _PDP_POST_H_
#define _PDP_POST_H_
+#include <stdarg.h>
+#include <m_pd.h>
+
/* write a message to log (console) */
-void pdp_post_n(char *fmt, ...);
-void pdp_post(char *fmt, ...);
+
+#include <m_pd.h>
+
+// old
+//void pdp_post_n(char *fmt, ...);
+//void pdp_post(char *fmt, ...);
+
+// new
+//void startpost(const char *fmt, ...);
+//void post(const char *fmt, ...);
+
+#define pdp_post_n startpost
+#define pdp_post post
#endif