projects
/
kopensolaris-gnu
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Formerly ../time/sys/time.h.~16~
[kopensolaris-gnu/glibc.git]
/
time
/
ap.c
diff --git
a/time/ap.c
b/time/ap.c
index
a923647
..
c982bd6
100644
(file)
--- a/
time/ap.c
+++ b/
time/ap.c
@@
-20,7
+20,7
@@
Cambridge, MA 02139, USA. */
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
-
+#include <malloc.h>
/* Prints the time in the form "hh:mm ?M", where ? is A or P.
A simple test for strftime(). */
/* Prints the time in the form "hh:mm ?M", where ? is A or P.
A simple test for strftime(). */
@@
-30,6
+30,8
@@
DEFUN(main, (argc, argv), int argc AND char **argv)
char buf[20];
time_t t;
char buf[20];
time_t t;
+ mcheck (NULL);
+
if (argc != 1)
fprintf(stderr, "Usage: %s\n", argv[0]);
if (argc != 1)
fprintf(stderr, "Usage: %s\n", argv[0]);