From e80ffb5d91cd3e017b5549e912a4e93f7bf03572 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Mon, 3 Sep 2007 15:03:21 +0000 Subject: Back to C99 in CFLAGS, but at least we (should) have the C89 option if anyone can't make it work with their compiler --- examples/simpletest/simpletest.c | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) (limited to 'examples/simpletest/simpletest.c') diff --git a/examples/simpletest/simpletest.c b/examples/simpletest/simpletest.c index 45df60a..3ead2d6 100644 --- a/examples/simpletest/simpletest.c +++ b/examples/simpletest/simpletest.c @@ -1,25 +1,27 @@ -/* xtract~ - PD library for feature extraction -Copyright (C) 2006 Jamie Bullock - -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 2 -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, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -*/ +/* libxtract feature extraction library + * + * Copyright (C) 2006 Jamie Bullock + * + * 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 2 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, + * USA. + */ #include "xtract/libxtract.h" #include -int main() { +int main(void) { float mean = 0, vector[] = {1, 2, 3}; -- cgit v1.2.3