aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/045.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/045.sh b/tests/045.sh
index 18f8e76..f788b62 100644
--- a/tests/045.sh
+++ b/tests/045.sh
@@ -3,17 +3,19 @@ set -e
cat <<'EOF' > expected
EOF
bash ../../test_diff.sh <<'EOF'
+typedef long size_t;
+
int atoi(const char*);
-void* calloc(long, long);
+void* calloc(size_t, size_t);
void exit(int);
int getchar(void);
int isalnum(int);
int isalpha(int);
int isdigit(int);
int isspace(int);
-void* memcpy(void*, void*, long);
-int printf();
-int sprintf();
+void* memcpy(void*, void*, size_t);
+int printf(const char*, ...);
+int sprintf(char*, const char*, ...);
int strcmp(const char*, const char*);
char* strstr(const char*, const char*);