]> git.draconx.ca Git - cdecl99.git/commit
libcdecl: Make cdecl__emit_specs return value usable directly.
authorNick Bowler <nbowler@draconx.ca>
Fri, 23 Jun 2023 04:39:45 +0000 (00:39 -0400)
committerNick Bowler <nbowler@draconx.ca>
Fri, 23 Jun 2023 05:03:44 +0000 (01:03 -0400)
commitb9d67c6ec4c59b204883dfbf346e3b7fca54a84b
tree407791907173a9d8fd79a5eafbff67f498036724
parent225fb0d496bd8f9fcbc2f800819a83c71d763a61
libcdecl: Make cdecl__emit_specs return value usable directly.

Since there is now only one caller of cdecl__emit_specs that cares
about its return value, let's adjust this function to return exactly
what that caller wants, so it doesn't have to do any extra calculation.
src/cdecl-internal.h
src/explain.c
src/output.c