more constness for stralloc and buffer

This commit is contained in:
leitner
2015-02-04 02:57:56 +00:00
parent 38ea25fd9f
commit ed93e203a1
11 changed files with 18 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
#include "stralloc.h"
#include "buffer.h"
void buffer_fromsa(buffer* b,stralloc* sa) {
void buffer_fromsa(buffer* b,const stralloc* sa) {
buffer_frombuf(b,sa->s,sa->len);
}