Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1500 → Rev 1501

/uspace/trunk/libc/include/align.h
42,6 → 42,6
* @param s Address or size to be aligned.
* @param a Size of alignment, must be power of 2.
*/
#define ALIGN_UP(s, a) (((s) + ((a) - 1)) & ~((a) - 1))
#define ALIGN_UP(s, a) ((long)((s) + ((a) - 1)) & ~((long) (a) - 1))
 
#endif
/uspace/trunk/libc/include/as.h
40,5 → 40,6
extern int as_area_resize(void *address, size_t size, int flags);
extern int as_area_destroy(void *address);
extern void *set_maxheapsize(size_t mhs);
extern void * as_get_mappable_page(size_t sz);
 
#endif