Permalink
Browse files

Removing last traces of windows codebase from this branch

  • Loading branch information...
1 parent ed91e8f commit 7b971ec5b444dc0598eb83a48fad1f1e042037f1 @TacoSteemers committed Apr 13, 2013
Showing with 0 additions and 51 deletions.
  1. +0 −44 code/logging.h
  2. +0 −7 tools/Makefile
View
@@ -1,44 +0,0 @@
-/* USB Storage Backup Daemon
- Copyright 2012, Taco steemers. This program is distributed under the terms of
- the GNU General Public License. A version of this license should have been
- provided. It can also be found on: http://www.gnu.org/licenses/gpl-3.0.txt */
-
-/* Sloppy partial implementation of syslog functionality.
- This allows the code that uses the syslog function to
- compile on a Windows platform. */
-
-#ifndef LOGGINGWINDOWS_H
-#define LOGGINGWINDOWS_H
-
- #ifdef _WIN32
-
- #include <stdio.h>
- int mode;
- FILE *logFile;
- void syslog(int mode, char *formatting, ...);
- void openlog(char* identifier, int unused_0, int unused_1);
- int setlogmask(int mode);
- int LOG_UPTO(int mode);
- #define LOG_EMERG 0
- #define LOG_ALERT 1
- #define LOG_CRIT 2
- #define LOG_ERR 3
- #define LOG_WARNING 4
- #define LOG_NOTICE 5
- #define LOG_INFO 6
- #define LOG_DEBUG 7
-
- /* The following are defined,
- but the corresponding
- functionality does not exist. */
- #define LOG_CONS 0
- #define LOG_PID 0
- #define LOG_NDELAY 0
- #define LOG_LOCAL1 0
- #else
-
- #include <syslog.h>
-
- #endif
-
-#endif
View
@@ -4,10 +4,3 @@ all:
clean:
rm -f ../bin/usbstoragebackup
rm -f ../bin/uslist
-
-allWin:
- gcc -Wall -g -O0 -o ../bin/usbstoragebackup.exe ../code/daemonWindows.c ../code/processArguments.c ../code/bookKeeping.c ../code/util.c ../code/backup.c ../code/loggingWindows.c ../code/detectionWindows.c ../code/windowsAlternatives.c
- gcc -Wall -g -O0 -o ../bin/uslist.exe ../code/uslist.c ../code/detection.c ../code/util.c ../code/loggingWindows.c
-cleanWin:
- del ../bin/usbstoragebackup.exe
- del ../bin/uslist.exe

0 comments on commit 7b971ec

Please sign in to comment.