From b6c94f0d0bd703b2de2ab0a2d091e6a3b09bd3c3 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 16 Dec 2005 21:55:18 +0000 Subject: don't use doc comments for non-docs change some char* into char[] Original commit message from CVS: * ext/artsd/gstartsdsink.c: (gst_artsdsink_open_audio): * gst/festival/gstfestival.c: (socket_receive_file_to_buff): * gst/vbidec/vbidata.c: * gst/vbidec/vbidata.h: * gst/vbidec/vbiscreen.c: * sys/dxr3/ac3_padder.c: don't use doc comments for non-docs change some char* into char[] --- gst/festival/gstfestival.c | 2 +- gst/vbidec/vbidata.c | 10 +++++----- gst/vbidec/vbidata.h | 2 +- gst/vbidec/vbiscreen.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'gst') diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index ffe2fc12..0dd482f5 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -340,7 +340,7 @@ socket_receive_file_to_buff (int fd, int *size) /* Festival key stuff technique, but long winded I know, sorry */ /* but will receive any file without closeing the stream or */ /* using OOB data */ - static const char *file_stuff_key = "ft_StUfF_key"; /* must == Festival's key */ + static const char file_stuff_key[] = "ft_StUfF_key"; /* must == Festival's key */ char *buff; int bufflen; int n, k, i; diff --git a/gst/vbidec/vbidata.c b/gst/vbidec/vbidata.c index 745775b0..4bcda140 100644 --- a/gst/vbidec/vbidata.c +++ b/gst/vbidec/vbidata.c @@ -95,22 +95,22 @@ struct vbidata_s /* this is NOT exactly right */ -//static char *ccode = " !\"#$%&'()\0341+,-./0123456789:;<=>?@" -static char *ccode = " !\"#$%&'()a+,-./0123456789:;<=>?@" +//static char ccode[] = " !\"#$%&'()\0341+,-./0123456789:;<=>?@" +static char ccode[] = " !\"#$%&'()a+,-./0123456789:;<=>?@" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" // "abcdefghijklmnopqrstuvwxyz" // "[\0351]\0355\0363\0372abcdefghijklmnopqr" "[e]iouabcdefghijklmnopqr" // "stuvwxyz\0347\0367\0245\0244\0240"; "stuvwxyzcoNn "; -static char *wccode = "\0256\0260\0275\0277T\0242\0243#\0340 " +static char wccode[] = "\0256\0260\0275\0277T\0242\0243#\0340 " "\0350\0354\0362\0371"; -static char *extcode1 = "\0301\0311\0323\0332\0334\0374" +static char extcode1[] = "\0301\0311\0323\0332\0334\0374" "`\0241*'-\0251S*\"\"\0300\0302" "\0307\0310\0312\0313\0353\0316\0317\0357" "\0324\0331\0371\0333\0253\0273"; -static char *extcode2 = "\0303\0343\0315\0314\0354\0322\0362\0325" +static char extcode2[] = "\0303\0343\0315\0314\0354\0322\0362\0325" "{}\\^_|~\0304\0344\0326\0366\0337\0245\0244|" "\0305\0345\0330\0370++++"; int diff --git a/gst/vbidec/vbidata.h b/gst/vbidec/vbidata.h index 66b2cc3c..901fa97c 100644 --- a/gst/vbidec/vbidata.h +++ b/gst/vbidec/vbidata.h @@ -1,4 +1,4 @@ -/** +/* * Copyright (c) 2002 Billy Biggs . * Copyright (c) 2002 Doug Bell * diff --git a/gst/vbidec/vbiscreen.c b/gst/vbidec/vbiscreen.c index bad96b52..0302b5f2 100644 --- a/gst/vbidec/vbiscreen.c +++ b/gst/vbidec/vbiscreen.c @@ -1,4 +1,4 @@ -/** +/* * Copyright (c) 2002 Billy Biggs . * Copyright (c) 2002 Doug Bell . * -- cgit v1.2.1