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[] --- ChangeLog | 11 +++++++++++ common | 2 +- ext/artsd/gstartsdsink.c | 2 +- gst/festival/gstfestival.c | 2 +- gst/vbidec/vbidata.c | 10 +++++----- gst/vbidec/vbidata.h | 2 +- gst/vbidec/vbiscreen.c | 2 +- sys/dxr3/ac3_padder.c | 8 ++++---- 8 files changed, 25 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index ae6551c0..5ff60836 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2005-12-16 Stefan Kost + + * 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[] + 2005-12-16 Julien MOUTTE * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_enum_layers), diff --git a/common b/common index 4edc2140..d1911d4b 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 4edc214072fe07d2aade96bc336493425654d7b4 +Subproject commit d1911d4b3d6267f9cd9dfb68fcef2afe4d098092 diff --git a/ext/artsd/gstartsdsink.c b/ext/artsd/gstartsdsink.c index 5dcade2d..f1c4357a 100644 --- a/ext/artsd/gstartsdsink.c +++ b/ext/artsd/gstartsdsink.c @@ -282,7 +282,7 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, static gboolean gst_artsdsink_open_audio (GstArtsdsink * sink) { - const char *connname = "gstreamer"; + const char connname[] = "gstreamer"; int errcode; /* Name used by aRtsd for this connection. */ 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 . * diff --git a/sys/dxr3/ac3_padder.c b/sys/dxr3/ac3_padder.c index c9220f73..e37137ba 100644 --- a/sys/dxr3/ac3_padder.c +++ b/sys/dxr3/ac3_padder.c @@ -112,10 +112,10 @@ ac3p_init (ac3_padder * padder) /** * ac3_push_data: - * @padder The padder structure. - * @data A pointer to a buffer with new data to parse. This should + * @padder: The padder structure. + * @data: A pointer to a buffer with new data to parse. This should * correspond to a new piece of a stream containing raw AC3 data. - * @size The number of available bytes in the buffer. + * @size: The number of available bytes in the buffer. * * Pushes a new buffer of data to be parsed by the ac3 padder. The * ac3_parse() function will actually parse the data and report when @@ -133,7 +133,7 @@ ac3p_push_data (ac3_padder * padder, guchar * data, guint size) /** * ac3p_parse: - * @padder The padder structure. + * @padder: The padder structure. * * Parses the bytes already pushed into the padder structure (see * ac3p_push_data()) and returns an event value depending on the -- cgit v1.2.1