/* * Copyright (C) 2012-2015 all contributors <cmogstored-public@bogomips.org> * License: GPLv3 or later (see COPYING for details) */#include"config.h"#include <stdint.h>static voidmog_devid_incr(uint32_t*mog_devid,unsigned c){*mog_devid *=10;*mog_devid += c -'0';/* no overflow checking here */}