diff options
author | Wink Saville <wink@google.com> | 2009-06-09 10:23:37 -0700 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2009-06-09 10:23:37 -0700 |
commit | 7f8568086f2ea14885b0091c793e14c2656f0da2 (patch) | |
tree | 565d194fb6effb053f5200e335f9f5ca20c3c310 /reference-ril | |
parent | 2641d5b8426beb86870611e5bc7c4eb0a877025b (diff) | |
download | android_hardware_ril-7f8568086f2ea14885b0091c793e14c2656f0da2.tar.gz android_hardware_ril-7f8568086f2ea14885b0091c793e14c2656f0da2.tar.bz2 android_hardware_ril-7f8568086f2ea14885b0091c793e14c2656f0da2.zip |
Cleanup whitespace.
Diffstat (limited to 'reference-ril')
-rw-r--r-- | reference-ril/Android.mk | 10 | ||||
-rw-r--r-- | reference-ril/at_tok.c | 24 | ||||
-rw-r--r-- | reference-ril/at_tok.h | 16 | ||||
-rw-r--r-- | reference-ril/misc.c | 16 | ||||
-rw-r--r-- | reference-ril/misc.h | 16 | ||||
-rw-r--r-- | reference-ril/reference-ril.c | 2 |
6 files changed, 42 insertions, 42 deletions
diff --git a/reference-ril/Android.mk b/reference-ril/Android.mk index 7ec1f97..ec2692e 100644 --- a/reference-ril/Android.mk +++ b/reference-ril/Android.mk @@ -12,15 +12,15 @@ LOCAL_SRC_FILES:= \ at_tok.c LOCAL_SHARED_LIBRARIES := \ - libcutils libutils libril + libcutils libutils libril - # for asprinf +# for asprinf LOCAL_CFLAGS := -D_GNU_SOURCE LOCAL_C_INCLUDES := $(KERNEL_HEADERS) ifeq ($(TARGET_DEVICE),sooner) - LOCAL_CFLAGS += -DOMAP_CSMI_POWER_CONTROL -DUSE_TI_COMMANDS + LOCAL_CFLAGS += -DOMAP_CSMI_POWER_CONTROL -DUSE_TI_COMMANDS endif ifeq ($(TARGET_DEVICE),surf) @@ -34,7 +34,7 @@ endif ifeq (foo,foo) #build shared library LOCAL_SHARED_LIBRARIES += \ - libcutils libutils + libcutils libutils LOCAL_LDLIBS += -lpthread LOCAL_CFLAGS += -DRIL_SHLIB LOCAL_MODULE:= libreference-ril @@ -42,7 +42,7 @@ ifeq (foo,foo) else #build executable LOCAL_SHARED_LIBRARIES += \ - libril + libril LOCAL_MODULE:= reference-ril include $(BUILD_EXECUTABLE) endif diff --git a/reference-ril/at_tok.c b/reference-ril/at_tok.c index 11e0cba..204a69e 100644 --- a/reference-ril/at_tok.c +++ b/reference-ril/at_tok.c @@ -2,16 +2,16 @@ ** ** Copyright 2006, The Android Open Source Project ** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at ** -** http://www.apache.org/licenses/LICENSE-2.0 +** http://www.apache.org/licenses/LICENSE-2.0 ** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and ** limitations under the License. */ @@ -64,7 +64,7 @@ static void skipNextComma(char **p_cur) if (**p_cur == ',') { (*p_cur)++; - } + } } static char * nextTok(char **p_cur) @@ -97,7 +97,7 @@ static char * nextTok(char **p_cur) static int at_tok_nextint_base(char **p_cur, int *p_out, int base, int uns) { char *ret; - + if (*p_cur == NULL) { return -1; } @@ -126,7 +126,7 @@ static int at_tok_nextint_base(char **p_cur, int *p_out, int base, int uns) } /** - * Parses the next base 10 integer in the AT response line + * Parses the next base 10 integer in the AT response line * and places it in *p_out * returns 0 on success and -1 on fail * updates *p_cur @@ -137,7 +137,7 @@ int at_tok_nextint(char **p_cur, int *p_out) } /** - * Parses the next base 16 integer in the AT response line + * Parses the next base 16 integer in the AT response line * and places it in *p_out * returns 0 on success and -1 on fail * updates *p_cur diff --git a/reference-ril/at_tok.h b/reference-ril/at_tok.h index 42bb4c9..a85ea63 100644 --- a/reference-ril/at_tok.h +++ b/reference-ril/at_tok.h @@ -2,16 +2,16 @@ ** ** Copyright 2006, The Android Open Source Project ** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at ** -** http://www.apache.org/licenses/LICENSE-2.0 +** http://www.apache.org/licenses/LICENSE-2.0 ** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and ** limitations under the License. */ diff --git a/reference-ril/misc.c b/reference-ril/misc.c index 7945e75..e4b8d72 100644 --- a/reference-ril/misc.c +++ b/reference-ril/misc.c @@ -2,16 +2,16 @@ ** ** Copyright 2006, The Android Open Source Project ** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at ** -** http://www.apache.org/licenses/LICENSE-2.0 +** http://www.apache.org/licenses/LICENSE-2.0 ** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and ** limitations under the License. */ diff --git a/reference-ril/misc.h b/reference-ril/misc.h index bafe7df..7044a07 100644 --- a/reference-ril/misc.h +++ b/reference-ril/misc.h @@ -2,16 +2,16 @@ ** ** Copyright 2006, The Android Open Source Project ** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at ** -** http://www.apache.org/licenses/LICENSE-2.0 +** http://www.apache.org/licenses/LICENSE-2.0 ** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and ** limitations under the License. */ diff --git a/reference-ril/reference-ril.c b/reference-ril/reference-ril.c index 0719efa..d6bd09d 100644 --- a/reference-ril/reference-ril.c +++ b/reference-ril/reference-ril.c @@ -1926,7 +1926,7 @@ static void onUnsolicited (const char *s, const char *sms_pdu) RIL_UNSOL_RESPONSE_NETWORK_STATE_CHANGED, NULL, 0); #ifdef WORKAROUND_FAKE_CGEV - RIL_requestTimedCallback (onDataCallListChanged, NULL, NULL); + RIL_requestTimedCallback (onDataCallListChanged, NULL, NULL); #endif /* WORKAROUND_FAKE_CGEV */ } else if (strStartsWith(s, "+CMT:")) { RIL_onUnsolicitedResponse ( |