Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
	modified:   Makefile
	modified:   client.c
	renamed:    functions.c -> common.c
	renamed:    functions.h -> common.h
	modified:   platform.c
	modified:   server.c
	modified:   test.c
  • Loading branch information
tpruzina committed Jun 25, 2013
1 parent 4dfa16c commit 4305cf7
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ PREFIX=/usr/local

all: ideapad-client ideapad-server test

ideapad-client: client.c functions.c platform.c
ideapad-client: common.c client.c platform.c
$(CC) $(CFLAGS) $(DBUS_INCLUDES) $^ -o $@
ideapad-server: server.c functions.c platform.c
ideapad-server: server.c common.c platform.c
$(CC) $(CFLAGS) $(DBUS_INCLUDES) $^ -o $@

install:
Expand All @@ -21,7 +21,7 @@ uninstall:
rm -f $(PREFIX)/bin/ideapad-client
rm -f $(PREFIX)/sbin/ideapad-server

test: test.c functions.c platform.c
test: test.c common.c platform.c
$(CC) $(CFLAGS) $^ -o $@

.PHONY: clean
Expand Down
2 changes: 1 addition & 1 deletion client.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <dbus/dbus.h>

#include "bus.h"
#include "functions.h" // parsing functions
#include "common.h" // parsing functions

void
method_call(DBusConnection *conn, const char *msg_text)
Expand Down
2 changes: 1 addition & 1 deletion functions.c → common.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <stdlib.h> //malloc
#include <dirent.h>

#include "functions.h"
#include "common.h"
#include "platform.h"

/* client's command line arguments are parsed into formatted string which is to be sent
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <stdio.h>

#include "platform.h"
#include "functions.h" // debug print
#include "common.h" // debug print

/* FAN CONTROL VIA /sys interface */
int
Expand Down
2 changes: 1 addition & 1 deletion server.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <stdbool.h>
#include <dbus/dbus.h>

#include "functions.h"
#include "common.h"
#include "bus.h"


Expand Down
Binary file modified test
Binary file not shown.
2 changes: 1 addition & 1 deletion test.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
******************************************************************************/

#include "platform.h"
#include "functions.h"
#include "common.h"

#include <stdio.h>
#include <assert.h>
Expand Down

0 comments on commit 4305cf7

Please sign in to comment.