Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
milkymist: declare "code" argument of pfpu_dump "const"
A small bit of cleanup, to allow Flickernoise to do the same.

- Werner
  • Loading branch information
wpwrak authored and Sebastien Bourdeauducq committed Dec 29, 2011
1 parent 2ce4328 commit 5645389
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion software/include/fpvm/pfpu.h
Expand Up @@ -22,6 +22,6 @@
#define pfpu_to_fpvm(x) (x)

int pfpu_get_latency(int opcode);
void pfpu_dump(unsigned int *code, unsigned int n);
void pfpu_dump(const unsigned int *code, unsigned int n);

#endif /* __FPVM_PFPU_H */
2 changes: 1 addition & 1 deletion software/libfpvm/pfpu.c
Expand Up @@ -43,7 +43,7 @@ int pfpu_get_latency(int opcode)
}
}

void pfpu_dump(unsigned int *code, unsigned int n)
void pfpu_dump(const unsigned int *code, unsigned int n)
{
int i;
int exits;
Expand Down

0 comments on commit 5645389

Please sign in to comment.