[SCM] libgroove/upstream: include statements outside of extern C
andrewrk-guest at users.alioth.debian.org
andrewrk-guest at users.alioth.debian.org
Tue May 13 03:19:10 UTC 2014
The following commit has been merged in the upstream branch:
commit 23ed5df72177d92bdaf7932532073eae5e207f95
Author: Andrew Kelley <superjoe30 at gmail.com>
Date: Fri May 9 17:40:45 2014 -0700
include statements outside of extern C
diff --git a/groove/encoder.h b/groove/encoder.h
index f2d000a..bb82e3d 100644
--- a/groove/encoder.h
+++ b/groove/encoder.h
@@ -8,13 +8,13 @@
#ifndef GROOVE_ENCODER_H_INCLUDED
#define GROOVE_ENCODER_H_INCLUDED
+#include "groove.h"
+
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
-#include "groove.h"
-
/* attach a GrooveEncoder to a playlist to keep a buffer of encoded audio full.
* for example you could use it to implement an http audio stream
*/
diff --git a/groove/groove.h b/groove/groove.h
index aaa06d5..c9db96a 100644
--- a/groove/groove.h
+++ b/groove/groove.h
@@ -8,13 +8,13 @@
#ifndef GROOVE_H_INCLUDED
#define GROOVE_H_INCLUDED
+#include <stdint.h>
+
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
-#include <stdint.h>
-
/************* global *************/
/* call once at the beginning of your program from the main thread
--
libgroove packaging
More information about the pkg-multimedia-commits
mailing list