summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-07-22 12:24:33 -0400
committerChris Michael <cp.michael@samsung.com>2015-07-22 12:24:33 -0400
commit25ec6d06cb74f3a3ce1884fa5ae8593d6b34ea00 (patch)
tree1a76a151d4656c01661e3b16090ec54f92b3f0ae /src
parent23045a08a7d22dbd018ef1a8df11f55ed924e3e8 (diff)
terminology: Fix formatting
NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/bin/termio.c2
-rw-r--r--src/bin/termptysave.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 47ac51e..ffdd7e7 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -370,7 +370,6 @@ termio_scroll_set(Evas_Object *obj, int scroll)
370 _smart_apply(obj); 370 _smart_apply(obj);
371} 371}
372 372
373
374const char * 373const char *
375termio_title_get(Evas_Object *obj) 374termio_title_get(Evas_Object *obj)
376{ 375{
@@ -625,7 +624,6 @@ termio_config_update(Evas_Object *obj)
625 _smart_size(obj, ow / w, oh / h, EINA_TRUE); 624 _smart_size(obj, ow / w, oh / h, EINA_TRUE);
626} 625}
627 626
628
629Config * 627Config *
630termio_config_get(const Evas_Object *obj) 628termio_config_get(const Evas_Object *obj)
631{ 629{
diff --git a/src/bin/termptysave.c b/src/bin/termptysave.c
index 686ea0f..2c22200 100644
--- a/src/bin/termptysave.c
+++ b/src/bin/termptysave.c
@@ -100,10 +100,11 @@ _alloc_new(int size, unsigned char gen)
100 // get mmaped anonymous memory so when freed it goes away from the system 100 // get mmaped anonymous memory so when freed it goes away from the system
101 ptr = (unsigned char*) mmap(NULL, sz, PROT_READ | PROT_WRITE, 101 ptr = (unsigned char*) mmap(NULL, sz, PROT_READ | PROT_WRITE,
102 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); 102 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
103 if (ptr == MAP_FAILED) { 103 if (ptr == MAP_FAILED)
104 {
104 ERR("Cannot allocate more memory with mmap MAP_ANONYMOUS"); 105 ERR("Cannot allocate more memory with mmap MAP_ANONYMOUS");
105 return NULL; 106 return NULL;
106 } 107 }
107 108
108 // note - we SHOULD memset to 0, but we are assuming mmap anon give 0 pages 109 // note - we SHOULD memset to 0, but we are assuming mmap anon give 0 pages
109 //memset(ptr, 0, newsize); 110 //memset(ptr, 0, newsize);