Sfoglia il codice sorgente

Remove useless utc-time.cc

Bryan Drewery 11 anni fa
parent
commit
3229157958
3 ha cambiato i file con 1 aggiunte e 17 eliminazioni
  1. 0 1
      .gitignore
  2. 1 1
      Makefile.in
  3. 0 15
      src/utc-time.cc

+ 0 - 1
.gitignore

@@ -12,7 +12,6 @@
 /hub
 /leaf.*
 /hub.*
-/utctime
 /wraith
 /ts
 /...

+ 1 - 1
Makefile.in

@@ -84,7 +84,7 @@ clean:  cleanutils
 	+@cd src && $(MAKE) clean
 	-+@cd lib && $(MAKE) clean
 	@rm -f $(BINEXEC) build/stamp.* *~ src/*~ configure.temp .mangled stamp.*
-	@rm -f utctime@EXEEXT@ ts@EXEEXT@
+	@rm -f ts@EXEEXT@
 
 distclean: clean
 	@rm -rf *-$(VERSION)/ autom4te.cache/ autoscan.log configure.scan

+ 0 - 15
src/utc-time.cc

@@ -1,15 +0,0 @@
-/* This file simply returns number of seconds since epoch in UTC 
- */
-
-
-#include <time.h>
-#include <stdio.h>
-
-int main() {
-  time_t now = time(NULL);
-
-  printf("%li\n", mktime(gmtime(&now)));
-  return 0;
-}
-
-/* vim: set sts=2 sw=2 ts=8 et: */