projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48990a9
)
.
author
Jim Meyering
<jim@meyering.net>
Mon, 13 Apr 1998 13:51:27 +0000
(13:51 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 13 Apr 1998 13:51:27 +0000
(13:51 +0000)
lib/safe-read.h
patch
|
blob
|
history
diff --git
a/lib/safe-read.h
b/lib/safe-read.h
index 3734671de1e8974552cb21887b9b9010cfe6091d..be957a6696f3fb5d9d7aee857459d45c94699d18 100644
(file)
--- a/
lib/safe-read.h
+++ b/
lib/safe-read.h
@@
-1,2
+1,10
@@
+#ifndef PARAMS
+# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
+# define PARAMS(Args) Args
+# else
+# define PARAMS(Args) ()
+# endif
+#endif
+
ssize_t
-safe_read
(int desc, char *ptr, size_t len
);
+safe_read
PARAMS ((int desc, char *ptr, size_t len)
);