chiark / gitweb /
Add commentary and licence notices.
[rhodes] / factor.c
index 47b9782ee32ee5a73cdc5fdeda66e9248338fb2a..586aab39e3fee030842a8b81be29052ca924e39b 100644 (file)
--- a/factor.c
+++ b/factor.c
@@ -1,3 +1,29 @@
+/* -*-c-*-
+ *
+ * Trivial interface to PARI's integer factoring machinery
+ *
+ * (c) 2017 Mark Wooding
+ */
+
+/*----- Licensing notice --------------------------------------------------*
+ *
+ * This file is part of Rhodes, a distributed discrete-log finder.
+ *
+ * Rhodes is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Rhodes is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Rhodes; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
 #include <assert.h>
 #include <stdarg.h>
 #include <stdlib.h>