aboutsummaryrefslogtreecommitdiff
path: root/src/prc1/warn.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-10-01 01:04:30 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2026-10-05 00:38:49 +0200
commit2b0d4ead061a39da9dbd705c18c9955549c4d405 (patch)
tree1412ac39adce3428b96caf67b1e7543f6c1246a5 /src/prc1/warn.h
parent9140988be4e5bb028b7140aca1a67af1370c72a7 (diff)
downloadprc-sym.tar.gz
WIP symsym
Diffstat (limited to 'src/prc1/warn.h')
-rw-r--r--src/prc1/warn.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/prc1/warn.h b/src/prc1/warn.h
index 5327592..9a50857 100644
--- a/src/prc1/warn.h
+++ b/src/prc1/warn.h
@@ -1,17 +1,12 @@
#ifndef WARN_H
#define WARN_H
+#include "cgen.h"
#include "lex.h"
#include "print.h"
#include "prv.h"
-struct warn
-{
- struct print p;
-};
-
int warn(const struct lex *l, struct prv *p);
-int warn_cgen(const struct warn *w, struct cgen *c);
-void warn_free(struct warn *w);
+int warn_cgen(const struct print *pr, struct cgen *c);
#endif