summaryrefslogtreecommitdiff
path: root/builtins/psize-posix.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2023-03-27 16:38:37 -0400
committerChet Ramey <chet.ramey@case.edu>2023-03-27 16:38:37 -0400
commit57d4dc15ff35895a1c1248f948f59739ffb99fde (patch)
tree150728c1cc4b8d51d19939a64676e4da212bae8c /builtins/psize-posix.c
parent429bd8199cb77a35e18759d7f22164d956b122d1 (diff)
downloadbash-57d4dc15ff35895a1c1248f948f59739ffb99fde.tar.gz
small asan fixes; size_t and other ANSI C changes; restore readline variables in compgen builtin
Diffstat (limited to 'builtins/psize-posix.c')
-rw-r--r--builtins/psize-posix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtins/psize-posix.c b/builtins/psize-posix.c
index 13abe2ca..260b395a 100644
--- a/builtins/psize-posix.c
+++ b/builtins/psize-posix.c
@@ -1,6 +1,6 @@
/* psize-posix - display the pipe size on a Posix system. */
-/* Copyright 2008,2009,2022 Free Software Foundation, Inc.
+/* Copyright 2008,2009,2022,2023 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -22,6 +22,7 @@
#include <unistd.h>
#include <stdlib.h>
+int
main(int c, char **v)
{
char *p;