Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[pirc] make pirc stop breaking every time someone runs headerizer

git-svn-id: https://svn.parrot.org/parrot/trunk@43493 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
commit 6ea4f144df6540443cbd240553f14cc186fa7c42 1 parent 8c9508b
@cotto cotto authored
Showing with 6 additions and 4 deletions.
  1. +2 −2 src/bcgen.c
  2. +4 −2 src/bcgen.h
View
4 src/bcgen.c
@@ -846,7 +846,7 @@ generate_multi_signature(ARGIN(bytecode * const bc),
/*
-=item C<int emit_pbc_key(bytecode * const bc, key * const k)>
+=item C<int emit_pbc_key(bytecode * const bc, struct key * const k)>
Emit bytecode for the key C<k>. First the bytecode is
written to a temporary buffer, which is later unpacked
@@ -856,7 +856,7 @@ in the actual PackFile. See C<store_key_bytecode()>.
*/
int
-emit_pbc_key(ARGIN(bytecode * const bc), ARGIN(key * const k))
+emit_pbc_key(ARGIN(bytecode * const bc), ARGIN(struct key * const k))
{
ASSERT_ARGS(emit_pbc_key)
key_entry *iter;
View
6 src/bcgen.h
@@ -162,6 +162,10 @@ opcode_t /*@alt void@*/
emit_opcode(ARGIN(bytecode * const bc), opcode_t op)
__attribute__nonnull__(1);
+int emit_pbc_key(ARGIN(bytecode * const bc), ARGIN(struct key * const k))
+ __attribute__nonnull__(1)
+ __attribute__nonnull__(2);
+
FLOATVAL get_num_const(ARGIN(bytecode * const bc), unsigned index)
__attribute__nonnull__(1);
@@ -285,8 +289,6 @@ FLOATVAL get_num_const(bytecode * const bc, unsigned index);
STRING *get_string_const(bytecode * const bc, unsigned index);
-int emit_pbc_key(bytecode * const bc, struct key * const k);
-
/*
int add_string_const(bytecode * const bc, STRING *s);
Please sign in to comment.
Something went wrong with that request. Please try again.