From: Ben Pfaff Date: Fri, 3 Sep 2021 01:45:39 +0000 (-0700) Subject: sys-file-encoding: Put the buffer-read-only declaration at the very top. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=051724c1769c04a715f00f22f75c4a810f5bff11 sys-file-encoding: Put the buffer-read-only declaration at the very top. This accidentally got pushed down when license notices were added to a bunch of files en masse. It only works if it's at the top. --- diff --git a/src/data/sys-file-encoding.c b/src/data/sys-file-encoding.c index a7d7227216..1cf2758991 100644 --- a/src/data/sys-file-encoding.c +++ b/src/data/sys-file-encoding.c @@ -1,3 +1,8 @@ +/* -*- mode: c; buffer-read-only: t -*- + + Generated by sys-file-encoding.pl. Do not modify! +*/ + /* PSPP - a program for statistical analysis. Copyright (C) 2017 Free Software Foundation, Inc. @@ -16,11 +21,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -/* -*- mode: c; buffer-read-only: t -*- - - Generated by sys-file-encoding.pl. Do not modify! -*/ - #include #include "data/sys-file-private.h" diff --git a/src/data/sys-file-encoding.pl b/src/data/sys-file-encoding.pl index 812cac1df1..4364b31518 100755 --- a/src/data/sys-file-encoding.pl +++ b/src/data/sys-file-encoding.pl @@ -60,6 +60,24 @@ print <<'EOF'; Generated by sys-file-encoding.pl. Do not modify! */ +/* +PSPP - a program for statistical analysis. +Copyright (C) 2017 Free Software Foundation, Inc. + +This program 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 3 of the License, or +(at your option) any later version. + +This program 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 this program. If not, see . +*/ + #include #include "data/sys-file-private.h"