]> andersk Git - moira.git/blobdiff - update/checksum.c
Correct offsets for both versions of gsnt.
[moira.git] / update / checksum.c
index fdb47266e337eed916f73ae2c15145474c915e77..4389054688dd9f297012fe2e0f93b88c229b4a42 100644 (file)
@@ -1,28 +1,26 @@
-/*
- *     $Source$
- *     $Header$
+/* $Id$
+ *
+ * Copyright (C) 1988-1998 by the Massachusetts Institute of Technology.
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
  */
-/*  (c) Copyright 1988 by the Massachusetts Institute of Technology. */
-/*  For copying and distribution information, please see the file */
-/*  <mit-copyright.h>. */
-
-#ifndef lint
-static char *rcsid_checksum_c = "$Header$";
-#endif
 
 #include <mit-copyright.h>
+#include <moira.h>
+#include "update_server.h"
+
 #include <stdio.h>
-#include <sys/types.h>
-#include <sys/file.h>
+
+RCSID("$Header$");
 
 /*
  * checksum_fd(fd)
  * returns 24-bit checksum of bytes in file
  */
 
-int checksum_file(char *path)
+long checksum_file(char *path)
 {
-  int sum;
+  long sum;
   int ch;
   FILE *f;
 
This page took 0.0357 seconds and 4 git commands to generate.