Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/systemd/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Copyright 2012 David Strauss
4 changes: 0 additions & 4 deletions src/systemd/_daemon.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */

/***
Copyright 2013-2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
***/

#define PY_SSIZE_T_CLEAN
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wredundant-decls"
Expand Down
4 changes: 0 additions & 4 deletions src/systemd/_journal.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */

/***
Copyright 2012 David Strauss <david@davidstrauss.net>
***/

#include <Python.h>

#include <alloca.h>
Expand Down
4 changes: 0 additions & 4 deletions src/systemd/_reader.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */

/***
Copyright 2013 Steven Hiscocks, Zbigniew Jędrzejewski-Szmek
***/

#define PY_SSIZE_T_CLEAN
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wredundant-decls"
Expand Down
4 changes: 0 additions & 4 deletions src/systemd/id128.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */

/***
Copyright 2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
***/

#include <Python.h>

/* Our include is first, so that our defines are replaced by the ones
Expand Down
4 changes: 0 additions & 4 deletions src/systemd/journal.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Copyright 2012 David Strauss <david@davidstrauss.net>
# Copyright 2012 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
# Copyright 2012 Marti Raudsepp <marti@juffo.org>

import sys as _sys
import datetime as _datetime
Expand Down
4 changes: 0 additions & 4 deletions src/systemd/login.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */

/***
Copyright 2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
***/

#define PY_SSIZE_T_CLEAN
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wredundant-decls"
Expand Down
4 changes: 0 additions & 4 deletions src/systemd/macro.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

#pragma once

/***
Copyright 2010 Lennart Poettering
***/

#define DISABLE_WARNING_MISSING_PROTOTYPES \
_Pragma("GCC diagnostic push"); \
_Pragma("GCC diagnostic ignored \"-Wmissing-prototypes\"")
Expand Down
4 changes: 0 additions & 4 deletions src/systemd/pyutil.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */

/***
Copyright 2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
***/

#include <Python.h>
#include "pyutil.h"

Expand Down
4 changes: 0 additions & 4 deletions src/systemd/pyutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

#pragma once

/***
Copyright 2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
***/

#ifndef Py_TYPE
/* avoid duplication warnings from errors in Python 2.7 headers */
# include <Python.h>
Expand Down
4 changes: 0 additions & 4 deletions src/systemd/strv.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */

/***
Copyright 2010 Lennart Poettering
***/

#include <stdlib.h>

void strv_clear(char **l) {
Expand Down
4 changes: 0 additions & 4 deletions src/systemd/strv.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */

/***
Copyright 2010 Lennart Poettering
***/

#include "macro.h"

char **strv_free(char **l);
Expand Down
3 changes: 0 additions & 3 deletions src/systemd/util.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/***
Copyright 2010 Lennart Poettering
***/

/* stuff imported from systemd without any changes */

Expand Down
4 changes: 0 additions & 4 deletions src/systemd/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

#pragma once

/***
Copyright 2010 Lennart Poettering
***/

#include <netinet/ip.h>
#include <arpa/inet.h>

Expand Down