summaryrefslogtreecommitdiffhomepage
path: root/src/output
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-06 17:03:10 -0400
committermidipix <writeonce@midipix.org>2016-05-06 17:03:10 -0400
commit3a51d216f279793fdbc18a9c95e367802efd4883 (patch)
tree52770b958a3cd9eacc618223372706ad05c5e0b9 /src/output
parent4cf844f1d2ff470208e93a22b2a4021bfe288fa4 (diff)
downloadapimagic-3a51d216f279793fdbc18a9c95e367802efd4883.tar.bz2
apimagic-3a51d216f279793fdbc18a9c95e367802efd4883.tar.xz
code maintenance: mark unused parameters.
Diffstat (limited to 'src/output')
-rw-r--r--src/output/amgc_output_compound.c2
-rw-r--r--src/output/amgc_output_typedef.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/output/amgc_output_compound.c b/src/output/amgc_output_compound.c
index fc95af7..312d475 100644
--- a/src/output/amgc_output_compound.c
+++ b/src/output/amgc_output_compound.c
@@ -279,6 +279,8 @@ static int output_compound_entity(
{
struct amgc_layout elayout;
+ (void)uctx;
+
if (layout && layout->symwidth)
return output_compound(aentity->entity,0,layout,fout);
diff --git a/src/output/amgc_output_typedef.c b/src/output/amgc_output_typedef.c
index 9af4329..f7b39d4 100644
--- a/src/output/amgc_output_typedef.c
+++ b/src/output/amgc_output_typedef.c
@@ -21,6 +21,8 @@ static int output_atomic_typedef(
int i;
const char * reftype;
+ (void)fout;
+
reftype = get_atomic_kind_name(aentity->reftype->atomic.akind);
if (fprintf(stdout,"typedef %s ",reftype) < 0)
@@ -44,6 +46,8 @@ int amgc_output_typedef(
{
int ret = 0;
+ (void)uctx;
+
if (layout && layout->header && (fputs(layout->header,fout) < 0))
return -1;