I was getting some warnings when compiling error.c,
and since I don't like warnings when I compile things,
I decided to fix the problem. Below is the error I was
getting:
/usr/bin/gcc -rdynamic -Wall -c -o error.o error.c
error.c: In function 'kill_me':
error.c:88: warning: implicit declaration of function
`abort'
error.c:89: warning: implicit declaration of function
`exit'
And below is the patch to error.c to fix this warning:
--- error.c.orig Thu Mar 21 21:57:54 2002
+++ error.c Thu Mar 21 21:59:58 2002
@@ -33,7 +33,6 @@
#include <errno.h>
#include <signal.h>
#include <time.h>
+#include <stdlib.h>
#include "error.h"
#include "io.h"
Patrik Opacic
Misc.
0.1.9
Public
|
Date: 2002-03-22 11:41 Logged In: YES |
|
Date: 2002-03-22 03:43 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2002-05-31 15:52 | opcid |
| close_date | - | 2002-05-31 15:52 | opcid |
| artifact_group_id | None | 2002-05-31 15:52 | opcid |
| resolution_id | Accepted | 2002-05-30 08:37 | opcid |
| resolution_id | None | 2002-03-22 11:43 | opcid |
| assigned_to | nobody | 2002-03-22 11:43 | opcid |
| category_id | None | 2002-03-22 03:43 | foozini |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use