Commit Diff
Diff:
e20755180f19eae16b5781e562978faf05f9579b
1f1f381068ac81bb86177e7d55e75f440522643f
Commit:
1f1f381068ac81bb86177e7d55e75f440522643f
Tree:
15c22a3b054d44a42768bb089d512f7d6e62dbe4
Author:
Anna “CyberTailor” <cyber@sysrq.in>
Date:
Thu Feb 3 10:13:45 2022 UTC
Message:
include gmid.h before other headers to get all the prototypes

> implicit declaration of function 'asprintf'; did you mean 'vsprintf'?
commit - e20755180f19eae16b5781e562978faf05f9579b
commit + 1f1f381068ac81bb86177e7d55e75f440522643f
blob - d24005d6f7700dd639ac3a06de950dc67d8bf26f
blob + c25f384884f85367151602abcf7ffe7cf648b2c1
--- parse.y
+++ parse.y
@@ -22,6 +22,8 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+
+#include "gmid.h"
#include <ctype.h>
#include <errno.h>
@@ -29,8 +31,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-
-#include "gmid.h"
TAILQ_HEAD(files, file) files = TAILQ_HEAD_INITIALIZER(files);
static struct file {
Omar Polo