Permalink
Browse files

return a const char * from get_window_group_id()

  • Loading branch information...
1 parent 9c8423c commit 693b2889a58951b6de8928ba6f42951c04c4f28b @jhoffmannrim jhoffmannrim committed Mar 4, 2013
View
2 Accelerometer/dialogutil.c
@@ -30,7 +30,7 @@ static dialog_instance_t main_dialog = 0;
/**
* Use the PID to set the window group id.
*/
-static char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
2 AudioControl/dialogutil.c
@@ -30,7 +30,7 @@ static dialog_instance_t main_dialog = 0;
/**
* Use the PID to set the window group id.
*/
-static char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
2 BelligerentBlocks/src/bbutil.c
@@ -108,7 +108,7 @@ bbutil_egl_perror(const char *msg) {
/**
* Use the PID to set the window group id.
*/
-static char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
4 Channels/dialogutil.c → Channels/dialogchannel.c
@@ -21,7 +21,7 @@
#include <bps/bps.h>
#include <bps/dialog.h>
#include <bps/navigator.h>
-#include "dialogutil.h"
+#include "dialogchannel.h"
static screen_context_t screen_ctx = 0;
static screen_window_t screen_win = 0;
@@ -32,7 +32,7 @@ static dialog_instance_t accelerometer_dialog = 0;
/**
* Use the PID to set the window group id.
*/
-static char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
0 Channels/dialogutil.h → Channels/dialogchannel.h
File renamed without changes.
View
2 Channels/main.c
@@ -38,7 +38,7 @@
#include <stdlib.h>
#include <string.h>
-#include "dialogutil.h"
+#include "dialogchannel.h"
#define MSG_SIZE 1024
View
2 Channels/manifest.properties
@@ -43,7 +43,7 @@ open.file: bar-descriptor.xml
libs: bps screen
-sources: main.c dialogutil.c dialogutil.h
+sources: main.c dialogchannel.c dialogchannel.h
resources: LICENSE NOTICE
View
2 Dialog/main.c
@@ -29,7 +29,7 @@ dialog_instance_t alert_dialog = 0;
/**
* Use the PID to set the window group id.
*/
-char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
2 Gamepad/bbutil.c
@@ -108,7 +108,7 @@ bbutil_egl_perror(const char *msg) {
/**
* Use the PID to set the window group id.
*/
-static char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
2 Geolocation/dialogutil.c
@@ -30,7 +30,7 @@ static dialog_instance_t main_dialog = 0;
/**
* Use the PID to set the window group id.
*/
-static char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
2 GoodCitizen/bbutil.c
@@ -108,7 +108,7 @@ bbutil_egl_perror(const char *msg) {
/**
* Use the PID to set the window group id.
*/
-static char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
2 HelloWorldDisplay/bbutil.c
@@ -108,7 +108,7 @@ bbutil_egl_perror(const char *msg) {
/**
* Use the PID to set the window group id.
*/
-static char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
2 HttpProxy/dialogutil.c
@@ -30,7 +30,7 @@ static dialog_instance_t main_dialog = 0;
/**
* Use the PID to set the window group id.
*/
-static char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
2 LocaleSample/dialogutil.c
@@ -30,7 +30,7 @@ static dialog_instance_t main_dialog = 0;
/**
* Use the PID to set the window group id.
*/
-static char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
2 NetworkStatus/dialogutil.c
@@ -30,7 +30,7 @@ static dialog_instance_t main_dialog = 0;
/**
* Use the PID to set the window group id.
*/
-static char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
2 PaymentService/main.c
@@ -26,7 +26,7 @@ static screen_window_t screen_win;
/**
* Use the PID to set the window group id.
*/
-char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
2 PlayAudio/dialogaudio.c
@@ -30,7 +30,7 @@ static dialog_instance_t main_dialog = 0;
/**
* Use the PID to set the window group id.
*/
-static char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";
View
2 PlayWav/dialogutil.c
@@ -30,7 +30,7 @@ static dialog_instance_t main_dialog = 0;
/**
* Use the PID to set the window group id.
*/
-static char *
+static const char *
get_window_group_id()
{
static char s_window_group_id[16] = "";

0 comments on commit 693b288

Please sign in to comment.