diff options
Diffstat (limited to 'include/relocation.h')
-rw-r--r-- | include/relocation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/relocation.h b/include/relocation.h index 23b0dc9..01a7c6d 100644 --- a/include/relocation.h +++ b/include/relocation.h @@ -14,7 +14,7 @@ typedef struct { int relocate(const char *filename, const char *_oldstr, const char *_newstr); void relocate_root(const char *destroot, const char *baseroot); -int replace_text(char *data, const char *_spattern, const char *_sreplacement); +ssize_t replace_text(char *data, const char *_spattern, const char *_sreplacement); int file_replace_text(char *filename, const char *spattern, const char *sreplacement); RelocationEntry **prefixes_read(const char *filename); void prefixes_free(RelocationEntry **entry); |