remove warnings in tests

This commit is contained in:
leitner
2004-11-25 21:52:35 +00:00
parent ff026235d2
commit 0b30b66db1
32 changed files with 71 additions and 39 deletions

View File

@@ -1,7 +1,7 @@
#include "stralloc.h"
#include "buffer.h"
main() {
int main() {
static stralloc sa;
/* static makes sure sa is initialized and empty;
* use stralloc_init to initialize and stralloc_copys(&sa,"") to empty */
@@ -9,4 +9,5 @@ main() {
buffer_putsa(buffer_1,&sa);
buffer_putnlflush(buffer_1);
}
return 0;
}