terminology: Fix formatting

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-07-22 12:24:33 -04:00
parent 23045a08a7
commit 25ec6d06cb
2 changed files with 3 additions and 4 deletions

View File

@ -370,7 +370,6 @@ termio_scroll_set(Evas_Object *obj, int scroll)
_smart_apply(obj); _smart_apply(obj);
} }
const char * const char *
termio_title_get(Evas_Object *obj) termio_title_get(Evas_Object *obj)
{ {
@ -625,7 +624,6 @@ termio_config_update(Evas_Object *obj)
_smart_size(obj, ow / w, oh / h, EINA_TRUE); _smart_size(obj, ow / w, oh / h, EINA_TRUE);
} }
Config * Config *
termio_config_get(const Evas_Object *obj) termio_config_get(const Evas_Object *obj)
{ {

View File

@ -100,10 +100,11 @@ _alloc_new(int size, unsigned char gen)
// get mmaped anonymous memory so when freed it goes away from the system // get mmaped anonymous memory so when freed it goes away from the system
ptr = (unsigned char*) mmap(NULL, sz, PROT_READ | PROT_WRITE, ptr = (unsigned char*) mmap(NULL, sz, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
if (ptr == MAP_FAILED) { if (ptr == MAP_FAILED)
{
ERR("Cannot allocate more memory with mmap MAP_ANONYMOUS"); ERR("Cannot allocate more memory with mmap MAP_ANONYMOUS");
return NULL; return NULL;
} }
// note - we SHOULD memset to 0, but we are assuming mmap anon give 0 pages // note - we SHOULD memset to 0, but we are assuming mmap anon give 0 pages
//memset(ptr, 0, newsize); //memset(ptr, 0, newsize);