aboutsummaryrefslogtreecommitdiffstats
path: root/guts
diff options
context:
space:
mode:
authorPeter Seebach <seebs@eee12.(none)>2010-03-25 17:16:12 -0500
committerPeter Seebach <seebs@eee12.(none)>2010-03-26 12:45:59 -0500
commit9a95df4be5704606d88b5737b352d9ebf8ad9745 (patch)
tree692ebed0e532c51d9ed482e4909dc6aacbdc2b35 /guts
parent819ebac90e485a7d00eb6d55ac83da188a12b7a7 (diff)
downloadpseudo-9a95df4be5704606d88b5737b352d9ebf8ad9745.tar.gz
pseudo-9a95df4be5704606d88b5737b352d9ebf8ad9745.tar.bz2
pseudo-9a95df4be5704606d88b5737b352d9ebf8ad9745.zip
Use NULL instead of 0
Not that it changes anything, but by convention we like to use NULL, not 0, to express a null pointer.
Diffstat (limited to 'guts')
-rw-r--r--guts/tempnam.c2
-rw-r--r--guts/tmpnam.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/guts/tempnam.c b/guts/tempnam.c
index 4da3c83..d620898 100644
--- a/guts/tempnam.c
+++ b/guts/tempnam.c
@@ -5,7 +5,7 @@
*/
pseudo_diag("tempnam() is so ludicrously insecure as to defy implementation.");
errno = ENOMEM;
- rc = 0;
+ rc = NULL;
/* return rc;
* }
diff --git a/guts/tmpnam.c b/guts/tmpnam.c
index 3e1aab2..d854719 100644
--- a/guts/tmpnam.c
+++ b/guts/tmpnam.c
@@ -6,7 +6,7 @@
pseudo_diag("tmpnam() is so ludicrously insecure as to defy implementation.");
errno = ENOMEM;
- rc = 0;
+ rc = NULL;
/* return rc;
* }