From ae20d1bd206b317393846accdc45082d7c37b571 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Tue, 3 Dec 2019 16:07:34 -0500 Subject: [PATCH] Move conditions source files to src/common/conditions directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau Change-Id: I43165eacf82a1bf537e7187313664e32ca2833a9 --- src/common/Makefile.am | 8 ++++---- src/common/{ => conditions}/buffer-usage.c | 0 src/common/{ => conditions}/condition.c | 0 src/common/{ => conditions}/session-consumed-size.c | 0 src/common/{ => conditions}/session-rotation.c | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename src/common/{ => conditions}/buffer-usage.c (100%) rename src/common/{ => conditions}/condition.c (100%) rename src/common/{ => conditions}/session-consumed-size.c (100%) rename src/common/{ => conditions}/session-rotation.c (100%) diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 0376e59d2..9df1790fb 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -34,10 +34,12 @@ libcommon_la_SOURCES = \ actions/snapshot-session.c \ actions/start-session.c \ actions/stop-session.c \ - buffer-usage.c \ buffer-view.h buffer-view.c \ common.h \ - condition.c \ + conditions/buffer-usage.c \ + conditions/condition.c \ + conditions/session-consumed-size.c \ + conditions/session-rotation.c \ context.c context.h \ credentials.c credentials.h \ daemonize.c daemonize.h \ @@ -68,9 +70,7 @@ libcommon_la_SOURCES = \ pipe.c pipe.h \ readwrite.c readwrite.h \ runas.c runas.h \ - session-consumed-size.c \ session-descriptor.c \ - session-rotation.c \ snapshot.c snapshot.h \ spawn-viewer.c spawn-viewer.h \ time.c \ diff --git a/src/common/buffer-usage.c b/src/common/conditions/buffer-usage.c similarity index 100% rename from src/common/buffer-usage.c rename to src/common/conditions/buffer-usage.c diff --git a/src/common/condition.c b/src/common/conditions/condition.c similarity index 100% rename from src/common/condition.c rename to src/common/conditions/condition.c diff --git a/src/common/session-consumed-size.c b/src/common/conditions/session-consumed-size.c similarity index 100% rename from src/common/session-consumed-size.c rename to src/common/conditions/session-consumed-size.c diff --git a/src/common/session-rotation.c b/src/common/conditions/session-rotation.c similarity index 100% rename from src/common/session-rotation.c rename to src/common/conditions/session-rotation.c -- 2.34.1