mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
Don't use __ in defines or declarations, it's reserved
SPA_TYPE -> SPA_TYPE_INFO for type info strings improve includes Fixes #115
This commit is contained in:
parent
6856f02cab
commit
3dc6820e9e
146 changed files with 890 additions and 951 deletions
|
|
@ -33,7 +33,7 @@
|
|||
#include <spa/debug/pod.h>
|
||||
|
||||
#include <pipewire/pipewire.h>
|
||||
#include <pipewire/private.h>
|
||||
#include "pipewire/private.h"
|
||||
|
||||
#include "connection.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __PIPEWIRE_PROTOCOL_NATIVE_CONNECTION_H__
|
||||
#define __PIPEWIRE_PROTOCOL_NATIVE_CONNECTION_H__
|
||||
#ifndef PIPEWIRE_PROTOCOL_NATIVE_CONNECTION_H
|
||||
#define PIPEWIRE_PROTOCOL_NATIVE_CONNECTION_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
@ -104,4 +104,4 @@ pw_protocol_native_connection_clear(struct pw_protocol_native_connection *conn);
|
|||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* __PIPEWIRE_PROTOCOL_NATIVE_CONNECTION_H__ */
|
||||
#endif /* PIPEWIRE_PROTOCOL_NATIVE_CONNECTION_H */
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@
|
|||
#include <sys/file.h>
|
||||
|
||||
#include <pipewire/pipewire.h>
|
||||
#include <pipewire/private.h>
|
||||
|
||||
static const char *
|
||||
get_remote(const struct pw_properties *properties)
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
#include <sys/socket.h>
|
||||
|
||||
#include <pipewire/pipewire.h>
|
||||
#include <pipewire/private.h>
|
||||
|
||||
int pw_protocol_native_connect_portal_screencast(struct pw_protocol_client *client,
|
||||
void (*done_callback) (void *data, int res),
|
||||
|
|
|
|||
|
|
@ -25,13 +25,10 @@
|
|||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "spa/pod/parser.h"
|
||||
#include <spa/pod/parser.h>
|
||||
|
||||
#include "pipewire/pipewire.h"
|
||||
#include "pipewire/protocol.h"
|
||||
#include "pipewire/interfaces.h"
|
||||
#include "pipewire/resource.h"
|
||||
#include "extensions/protocol-native.h"
|
||||
#include <pipewire/pipewire.h>
|
||||
#include <extensions/protocol-native.h>
|
||||
|
||||
#include "connection.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue