[Asterisk-code-review] iostream: Move include of asterisk.h (asterisk[master])
Joshua Colp
asteriskteam at digium.com
Mon Nov 28 07:37:04 CST 2016
Joshua Colp has uploaded a new change for review. ( https://gerrit.asterisk.org/4501 )
Change subject: iostream: Move include of asterisk.h
......................................................................
iostream: Move include of asterisk.h
The asterisk.h header file needs to be included first or else
some things go awry, such as:
implicit declaration of function 'vasprintf'
Change-Id: I981dc2a77a1ba791888e4f1726644d4656c0407c
---
M main/iostream.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/01/4501/1
diff --git a/main/iostream.c b/main/iostream.c
index 46abc18..0088881 100644
--- a/main/iostream.c
+++ b/main/iostream.c
@@ -16,10 +16,11 @@
* at the top of the source tree.
*/
+#include "asterisk.h"
+
#include <fcntl.h>
#include <stdarg.h>
-#include "asterisk.h"
#include "asterisk/utils.h"
#include "asterisk/astobj2.h"
#include "asterisk/iostream.h"
--
To view, visit https://gerrit.asterisk.org/4501
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I981dc2a77a1ba791888e4f1726644d4656c0407c
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
More information about the asterisk-code-review
mailing list